2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00

Skip property upgrade if no version present

This commit is contained in:
Xjph 2023-01-17 19:06:08 -03:30
parent f9341c8cd3
commit 7a7c110b45

View File

@ -23,7 +23,7 @@ namespace Observatory
{ {
if (Properties.Core.Default.CoreVersion != version) if (Properties.Core.Default.CoreVersion != version)
{ {
Properties.Core.Default.Upgrade(); if (Properties.Core.Default.CoreVersion != string.Empty) Properties.Core.Default.Upgrade();
Properties.Core.Default.CoreVersion = version; Properties.Core.Default.CoreVersion = version;
Properties.Core.Default.Save(); Properties.Core.Default.Save();
} }