mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
"start wox on system startup" config changes.
This commit is contained in:
@@ -67,13 +67,20 @@ namespace Wox
|
||||
base.OnStartup(e);
|
||||
|
||||
window = new MainWindow();
|
||||
window.ShowApp();
|
||||
if (e.Args.Length == 0 || e.Args[0].ToLower() != "starthide")
|
||||
{
|
||||
window.ShowApp();
|
||||
}
|
||||
|
||||
window.ParseArgs(e.Args);
|
||||
}
|
||||
|
||||
public void Activate(string[] args)
|
||||
{
|
||||
window.ShowApp();
|
||||
if (args.Length == 0 || args[0].ToLower() != "starthide")
|
||||
{
|
||||
window.ShowApp();
|
||||
}
|
||||
window.ParseArgs(args);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user