mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
add command option hotkey_window=0
This commit is contained in:
parent
55e2ff2356
commit
ecd622e504
1 changed files with 6 additions and 1 deletions
|
@ -70,6 +70,7 @@ namespace PersistentWindows.SystrayShell
|
|||
bool auto_upgrade = false;
|
||||
bool legacy_icon = false;
|
||||
bool waiting_taskbar = false;
|
||||
bool hotkey_window = true;
|
||||
|
||||
foreach (var arg in args)
|
||||
{
|
||||
|
@ -193,6 +194,9 @@ namespace PersistentWindows.SystrayShell
|
|||
case "-ctrl_minimize_to_tray=0":
|
||||
pwp.enableMinimizeToTray = false;
|
||||
break;
|
||||
case "-hotkey_window=0":
|
||||
hotkey_window = false;
|
||||
break;
|
||||
case "-prompt_session_restore":
|
||||
prompt_session_restore = true;
|
||||
break;
|
||||
|
@ -351,7 +355,8 @@ namespace PersistentWindows.SystrayShell
|
|||
StartSplashForm();
|
||||
}
|
||||
|
||||
HotKeyForm.Start();
|
||||
if (hotkey_window)
|
||||
HotKeyForm.Start();
|
||||
Application.Run();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue