remove --reinstall

This commit is contained in:
rustdesk 2023-06-09 15:15:54 +08:00
parent e47d921ac6
commit 90aa95ef21

View File

@ -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",