mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 09:28:23 +00:00
remove --reinstall
This commit is contained in:
parent
e47d921ac6
commit
90aa95ef21
1 changed files with 0 additions and 9 deletions
|
|
@ -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 a new issue