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

Always attempt properties upgrade

This commit is contained in:
Xjph 2023-01-19 19:28:31 -03:30
parent e3e019e3f7
commit c20af38a2e

View File

@ -23,7 +23,14 @@ namespace Observatory
{
if (Properties.Core.Default.CoreVersion != version)
{
if (Properties.Core.Default.CoreVersion != string.Empty) Properties.Core.Default.Upgrade();
try
{
Properties.Core.Default.Upgrade();
}
catch
{
// Silently ignore properties upgrade failure.
}
Properties.Core.Default.CoreVersion = version;
Properties.Core.Default.Save();
}