From c865cc0d1caf528e2135cc989b0efd8f566b5bc3 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Thu, 22 Feb 2018 13:11:19 -0500 Subject: [PATCH] Still trying to get settings upgrade working with Squirrel --- App.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();