mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
disable windows service install/uninstall
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user