"start wox on system startup" config changes.

This commit is contained in:
qianlifeng
2014-02-07 22:10:00 +08:00
parent 67f14d6a62
commit 3442081d20
5 changed files with 28 additions and 31 deletions

View File

@@ -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);
}
}