mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
Remove cert file arg on installing cert
Signed-off-by: fufesou <shuanglongchen@yeah.ne>
This commit is contained in:
@@ -63,6 +63,8 @@ use windows_service::{
|
||||
use winreg::enums::*;
|
||||
use winreg::RegKey;
|
||||
|
||||
pub const DRIVER_CERT_FILE: &str = "RustDeskIddDriver.cer";
|
||||
|
||||
pub fn get_cursor_pos() -> Option<(i32, i32)> {
|
||||
unsafe {
|
||||
#[allow(invalid_value)]
|
||||
@@ -1029,7 +1031,7 @@ 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") {
|
||||
let s = format!(r#""{}" --install-cert "RustDeskIddDriver.cer""#, src_exe);
|
||||
let s = format!(r#""{}" --install-cert"#, src_exe);
|
||||
if silent {
|
||||
format!("{} silent", s)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user