diff --git a/app/Wissance.Zerial/Wissance.Zerial.Desktop/App.axaml.cs b/app/Wissance.Zerial/Wissance.Zerial.Desktop/App.axaml.cs index 007c29f..ad2b4cd 100644 --- a/app/Wissance.Zerial/Wissance.Zerial.Desktop/App.axaml.cs +++ b/app/Wissance.Zerial/Wissance.Zerial.Desktop/App.axaml.cs @@ -29,7 +29,7 @@ static App() Configuration = builder.Build(); ServiceCollection services = new ServiceCollection(); - services.AddLogging(); + // services.AddLogging(); ServiceProvider = services.BuildServiceProvider(); } diff --git a/app/Wissance.Zerial/Wissance.Zerial.Desktop/Program.cs b/app/Wissance.Zerial/Wissance.Zerial.Desktop/Program.cs index 2ff9d30..0189dbd 100644 --- a/app/Wissance.Zerial/Wissance.Zerial.Desktop/Program.cs +++ b/app/Wissance.Zerial/Wissance.Zerial.Desktop/Program.cs @@ -13,9 +13,9 @@ class Program [STAThread] public static void Main(string[] args) { - // string snapEnv = args.FirstOrDefault(a => a.Contains("snap")); - // Environment = snapEnv != null ? SnapEnvironmentKey : OtherEnvironmentKey; - Environment = SnapEnvironmentKey; + string snapEnv = args.FirstOrDefault(a => a.Contains("snap")); + Environment = snapEnv != null ? SnapEnvironmentKey : OtherEnvironmentKey; + Console.WriteLine($"Current environment is: {snapEnv}"); BuildAvaloniaApp().StartWithClassicDesktopLifetime(args); }