mirror of
https://github.com/ckaczor/ProcessCpuUsageStatusWindow.git
synced 2026-01-25 17:24:13 -05:00
Workaround for Settings.Upgrade with Squirrel
This commit is contained in:
@@ -16,14 +16,7 @@ namespace ProcessCpuUsageStatusWindow
|
||||
[STAThread]
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
if (Settings.Default.FirstRun)
|
||||
{
|
||||
Settings.Default.Upgrade();
|
||||
Settings.Default.FirstRun = false;
|
||||
Settings.Default.Save();
|
||||
}
|
||||
|
||||
SquirrelAwareApp.HandleEvents();
|
||||
SquirrelAwareApp.HandleEvents(onAppUpdate: version => SettingsExtensions.RestoreSettings());
|
||||
|
||||
var application = new App();
|
||||
application.InitializeComponent();
|
||||
|
||||
Reference in New Issue
Block a user