[client] no cmd window when running games or scripts
This commit is contained in:
parent
d80dece8a7
commit
366b6fbca7
@ -71,7 +71,7 @@ fn run_as_admin(file: &str, params: &str, dir: &str) -> bool {
|
|||||||
PCWSTR::from_raw(file_wide.as_ptr()),
|
PCWSTR::from_raw(file_wide.as_ptr()),
|
||||||
PCWSTR::from_raw(params_wide.as_ptr()),
|
PCWSTR::from_raw(params_wide.as_ptr()),
|
||||||
PCWSTR::from_raw(dir_wide.as_ptr()),
|
PCWSTR::from_raw(dir_wide.as_ptr()),
|
||||||
windows::Win32::UI::WindowsAndMessaging::SW_SHOWNORMAL,
|
windows::Win32::UI::WindowsAndMessaging::SW_HIDE,
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user