disable windows service install/uninstall

This commit is contained in:
rustdesk
2023-06-06 01:51:04 +08:00
parent 14541fd182
commit 594ce024e7
3 changed files with 7 additions and 2 deletions

View File

@@ -283,6 +283,7 @@ pub fn set_option(key: String, value: String) {
return;
}
}
/*
#[cfg(any(target_os = "windows"))]
{
if crate::platform::is_installed() {
@@ -294,6 +295,7 @@ pub fn set_option(key: String, value: String) {
return;
}
}
*/
}
if value.is_empty() {
options.remove(&key);