Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou authored and GitHub committed 2024-04-11 11:51:35 +08:00
1 parent a4f357fd80
commit 64020758d9
11 files changed
+514 -84

No files matched your search

+5
View File
@@ -1279,6 +1279,11 @@ fn get_before_uninstall(kill_self: bool) -> String {
}
fn get_uninstall(kill_self: bool) -> String {
let reg_uninstall_string = get_reg("UninstallString");
if reg_uninstall_string.to_lowercase().contains("msiexec.exe") {
return reg_uninstall_string;
}
let mut uninstall_cert_cmd = "".to_string();
if let Ok(exe) = std::env::current_exe() {
if let Some(exe_path) = exe.to_str() {