mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-04 03:49:25 +08:00
remove --reinstall
This commit is contained in:
parent
e47d921ac6
commit
90aa95ef21
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user