2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-12-15 20:34:58 +01:00

WIP: observatory UI overhaul

This commit is contained in:
Xjph
2023-07-07 08:36:27 -02:30
parent 1d62a0ec1d
commit d99a190869
28 changed files with 1448 additions and 386 deletions

View File

@@ -1,4 +1,5 @@
using Observatory.PluginManagement;
using Observatory.Utils;
using System.Reflection.PortableExecutable;
namespace Observatory
@@ -11,6 +12,8 @@ namespace Observatory
[STAThread]
static void Main(string[] args)
{
SettingsManager.Load();
if (args.Length > 0 && File.Exists(args[0]))
{
var fileInfo = new FileInfo(args[0]);
@@ -27,14 +30,14 @@ namespace Observatory
{
try
{
Properties.Core.Default.Upgrade();
// Properties.Core.Default.Upgrade();
}
catch
{
// Silently ignore properties upgrade failure.
}
Properties.Core.Default.CoreVersion = version;
Properties.Core.Default.Save();
SettingsManager.Save();
}