Version bumps no longer nuke configs

This commit is contained in:
Cyberboss
2017-06-06 14:43:58 -04:00
parent 17044d1376
commit 458937e75f
8 changed files with 48 additions and 0 deletions
+6
View File
@@ -22,6 +22,12 @@ namespace TGServerService
//Use OnStart instead
public TGServerService()
{
if (Properties.Settings.Default.UpgradeRequired)
{
Properties.Settings.Default.Upgrade();
Properties.Settings.Default.UpgradeRequired = false;
Properties.Settings.Default.Save();
}
InitializeComponent();
Run(this);
}