Fix "startup wox on window start" issue.

This commit is contained in:
qianlifeng
2014-02-18 22:02:55 +08:00
parent fcdb9e39c6
commit b8fbc837dc
5 changed files with 22 additions and 9 deletions

View File

@@ -67,7 +67,7 @@ namespace Wox
base.OnStartup(e);
window = new MainWindow();
if (e.Args.Length == 0 || e.Args[0].ToLower() != "starthide")
if (e.Args.Length == 0 || e.Args[0].ToLower() != "hidestart")
{
window.ShowApp();
}
@@ -77,7 +77,7 @@ namespace Wox
public void Activate(string[] args)
{
if (args.Length == 0 || args[0].ToLower() != "starthide")
if (args.Length == 0 || args[0].ToLower() != "hidestart")
{
window.ShowApp();
}