Skip to content

Commit

Permalink
設定の読み込み処理を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
yuto-trd committed Feb 18, 2024
1 parent 30f5e62 commit e9ff42e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Beutl.PackageTools.UI/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Avalonia;

using Beutl.Configuration;
using Beutl.Logging;
using Beutl.Services;

Expand All @@ -23,6 +24,10 @@ public static void Main(string[] args)
}
}

// Restore config
GlobalConfiguration config = GlobalConfiguration.Instance;
config.Restore(GlobalConfiguration.DefaultFilePath);

using IDisposable _ = Telemetry.GetDisposable(GetSessionId());
ILogger<Program> logger = Log.CreateLogger<Program>();

Expand Down

0 comments on commit e9ff42e

Please sign in to comment.