fix error cert file
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
28e95c0552
commit
79934d006b
@ -462,6 +462,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
|||||||
("No transfers in progress", ""),
|
("No transfers in progress", ""),
|
||||||
("Set one-time password length", ""),
|
("Set one-time password length", ""),
|
||||||
("Install driver cert(test cert)", "安装驱动证书(测试证书)"),
|
("Install driver cert(test cert)", "安装驱动证书(测试证书)"),
|
||||||
("Virtual display requirement", "虚拟显示器要求")
|
("Virtual display requirement", "虚拟显示器需要")
|
||||||
].iter().cloned().collect();
|
].iter().cloned().collect();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1175,7 +1175,7 @@ sc delete {app_name}
|
|||||||
run_cmds(cmds, debug, "install")?;
|
run_cmds(cmds, debug, "install")?;
|
||||||
std::thread::sleep(std::time::Duration::from_millis(2000));
|
std::thread::sleep(std::time::Duration::from_millis(2000));
|
||||||
if options.contains("driverCert") {
|
if options.contains("driverCert") {
|
||||||
allow_err!(cert::install_cert(std::path::Path::new(&path).join("IddSampleDriver.cer")));
|
allow_err!(cert::install_cert(std::path::Path::new(&path).join("RustDeskIddDriver.cer")));
|
||||||
}
|
}
|
||||||
if !silent {
|
if !silent {
|
||||||
std::process::Command::new(&exe).spawn()?;
|
std::process::Command::new(&exe).spawn()?;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user