qs.exe -> -qs-

This commit is contained in:
rustdesk 2023-09-07 15:17:07 +08:00
parent 5e1eda9e97
commit dc29b4afa1

View File

@ -116,7 +116,7 @@ pub fn core_main() -> Option<Vec<String>> {
{
_is_quick_support |= !crate::platform::is_installed()
&& args.is_empty()
&& (arg_exe.to_lowercase().ends_with("qs.exe")
&& (arg_exe.to_lowercase().contains("-qs-")
|| (!click_setup && crate::platform::is_elevated(None).unwrap_or(false)));
crate::portable_service::client::set_quick_support(_is_quick_support);
}