Still trying to get settings upgrade working with Squirrel

This commit is contained in:
2018-02-22 13:11:19 -05:00
parent 9b862f0db9
commit c865cc0d1c

View File

@@ -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();