rustdesk 2021-07-25 02:06:20 +08:00
parent 56dfcffd1e
commit d89d5ef825

View File

@ -37,6 +37,12 @@ fn get_msgbox() -> String {
}
pub fn start(args: &mut [String]) {
// https://github.com/c-smile/sciter-sdk/blob/master/include/sciter-x-types.h
// https://github.com/rustdesk/rustdesk/issues/132#issuecomment-886069737
#[cfg(windows)]
allow_err!(sciter::set_options(sciter::RuntimeOptions::GfxLayer(
sciter::GFX_LAYER::WARP
)));
#[cfg(windows)]
if args.len() > 0 && args[0] == "--tray" {
let mut res;