mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
Fix. Install cert silent
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
b8f7259fbd
commit
97108e788f
2 files changed
+22
-2
No files matched your search
@@ -1029,7 +1029,12 @@ if exist \"{tmp_path}\\{app_name} Tray.lnk\" del /f /q \"{tmp_path}\\{app_name}
|
||||
let src_exe = std::env::current_exe()?.to_str().unwrap_or("").to_string();
|
||||
|
||||
let install_cert = if options.contains("driverCert") {
|
||||
format!("\"{}\" --install-cert \"RustDeskIddDriver.cer\"", src_exe)
|
||||
let s = format!(r#""{}" --install-cert "RustDeskIddDriver.cer""#, src_exe);
|
||||
if silent {
|
||||
format!("{} silent", s)
|
||||
} else {
|
||||
s
|
||||
}
|
||||
} else {
|
||||
"".to_owned()
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user