mirror of
https://github.com/ckaczor/ProcessCpuUsageStatusWindow.git
synced 2026-01-13 17:23:02 -05:00
Still trying to get settings upgrade working with Squirrel
This commit is contained in:
@@ -16,8 +16,6 @@ namespace ProcessCpuUsageStatusWindow
|
|||||||
[STAThread]
|
[STAThread]
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
SquirrelAwareApp.HandleEvents();
|
|
||||||
|
|
||||||
if (Settings.Default.FirstRun)
|
if (Settings.Default.FirstRun)
|
||||||
{
|
{
|
||||||
Settings.Default.Upgrade();
|
Settings.Default.Upgrade();
|
||||||
@@ -25,6 +23,8 @@ namespace ProcessCpuUsageStatusWindow
|
|||||||
Settings.Default.Save();
|
Settings.Default.Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SquirrelAwareApp.HandleEvents();
|
||||||
|
|
||||||
var application = new App();
|
var application = new App();
|
||||||
application.InitializeComponent();
|
application.InitializeComponent();
|
||||||
application.Run();
|
application.Run();
|
||||||
|
|||||||
Reference in New Issue
Block a user