diff --git a/App.xaml.cs b/App.xaml.cs index 08a9d5d..d578d22 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -16,8 +16,6 @@ namespace ProcessCpuUsageStatusWindow [STAThread] public static void Main(string[] args) { - SquirrelAwareApp.HandleEvents(); - if (Settings.Default.FirstRun) { Settings.Default.Upgrade(); @@ -25,6 +23,8 @@ namespace ProcessCpuUsageStatusWindow Settings.Default.Save(); } + SquirrelAwareApp.HandleEvents(); + var application = new App(); application.InitializeComponent(); application.Run();