mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Remove unnecessary thread switch
This commit is contained in:
@@ -4,6 +4,7 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using Wox.CommandArgs;
|
||||
using Wox.Core.Plugin;
|
||||
using Wox.Helper;
|
||||
using Application = System.Windows.Application;
|
||||
using MessageBox = System.Windows.MessageBox;
|
||||
@@ -35,6 +36,8 @@ namespace Wox
|
||||
AppDomain.CurrentDomain.UnhandledException += ErrorReporting.UnhandledExceptionHandle;
|
||||
|
||||
Window = new MainWindow();
|
||||
PluginManager.Init(Window);
|
||||
ImageLoader.ImageLoader.PreloadImages();
|
||||
CommandArgsFactory.Execute(e.Args.ToList());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user