fix error cert file

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-03-07 21:01:28 +08:00
parent 28e95c0552
commit 79934d006b
2 changed files with 2 additions and 2 deletions

View File

@ -462,6 +462,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("No transfers in progress", ""),
("Set one-time password length", ""),
("Install driver cert(test cert)", "安装驱动证书(测试证书)"),
("Virtual display requirement", "虚拟显示器")
("Virtual display requirement", "虚拟显示器")
].iter().cloned().collect();
}

View File

@ -1175,7 +1175,7 @@ sc delete {app_name}
run_cmds(cmds, debug, "install")?;
std::thread::sleep(std::time::Duration::from_millis(2000));
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 {
std::process::Command::new(&exe).spawn()?;