This commit is contained in:
bao-qian
2015-11-02 13:43:19 +00:00
parent 89dc9e7e7f
commit c9edc217fd
3 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Windows;
using Wox.CommandArgs;
using Wox.Core.Plugin;
@@ -34,9 +35,9 @@ namespace Wox
DispatcherUnhandledException += ErrorReporting.DispatcherUnhandledException;
AppDomain.CurrentDomain.UnhandledException += ErrorReporting.UnhandledExceptionHandle;
//ThreadPool.QueueUserWorkItem(o => { ImageLoader.ImageLoader.PreloadImages(); });
Window = new MainWindow();
PluginManager.Init(Window);
ImageLoader.ImageLoader.PreloadImages();
CommandArgsFactory.Execute(e.Args.ToList());
}