mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
change init order
This commit is contained in:
parent
86b2391543
commit
46f98ded10
@ -43,6 +43,9 @@ namespace Wox
|
||||
Log.Info("|App.OnStartup|Begin Wox startup ----------------------------------------------------");
|
||||
RegisterDispatcherUnhandledException();
|
||||
|
||||
ImageLoader.Initialize();
|
||||
Alphabet.Initialize();
|
||||
|
||||
var settingVM = new SettingWindowViewModel();
|
||||
_settings = settingVM.Settings;
|
||||
|
||||
@ -52,11 +55,8 @@ namespace Wox
|
||||
API = new PublicAPIInstance(settingVM, mainVM);
|
||||
PluginManager.InitializePlugins(API);
|
||||
|
||||
ImageLoader.Initialize();
|
||||
Alphabet.Initialize();
|
||||
|
||||
Current.MainWindow = window;
|
||||
Current.MainWindow.Title = Infrastructure.Constant.Wox;
|
||||
Current.MainWindow.Title = Constant.Wox;
|
||||
|
||||
RegisterExitEvents();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user