mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-11 03:11:27 +03:00
remove startup elevation, update impersonate_system
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -85,11 +85,6 @@ pub fn core_main() -> Option<Vec<String>> {
|
||||
.ok();
|
||||
}
|
||||
}
|
||||
#[cfg(windows)]
|
||||
#[cfg(not(debug_assertions))]
|
||||
if !crate::platform::is_installed() && args.is_empty() {
|
||||
crate::platform::elevate_or_run_as_system(is_setup, _is_elevate, _is_run_as_system);
|
||||
}
|
||||
if args.is_empty() {
|
||||
std::thread::spawn(move || crate::start_server(false));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user