mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-03 16:32:22 +00:00
remove --reinstall
This commit is contained in:
1 parent
e47d921ac6
commit
90aa95ef21
1 file changed
-9
@@ -127,15 +127,6 @@ pub fn core_main() -> Option<Vec<String>> {
|
||||
log::error!("Failed to before-uninstall: {}", err);
|
||||
}
|
||||
return None;
|
||||
} else if args[0] == "--reinstall" {
|
||||
hbb_common::allow_err!(platform::uninstall_me(false));
|
||||
hbb_common::allow_err!(platform::install_me(
|
||||
"desktopicon startmenu driverCert",
|
||||
"".to_owned(),
|
||||
false,
|
||||
false,
|
||||
));
|
||||
return None;
|
||||
} else if args[0] == "--silent-install" {
|
||||
hbb_common::allow_err!(platform::install_me(
|
||||
"desktopicon startmenu driverCert",
|
||||
|
||||
Reference in new issue
Block a user