Skip to content

Commit

Permalink
Snap again
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilLord666 committed Mar 5, 2024
1 parent 585ff1f commit 51d3181
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/Wissance.Zerial/Wissance.Zerial.Desktop/App.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static App()
Configuration = builder.Build();

ServiceCollection services = new ServiceCollection();
services.AddLogging();
// services.AddLogging();

ServiceProvider = services.BuildServiceProvider();
}
Expand Down
6 changes: 3 additions & 3 deletions app/Wissance.Zerial/Wissance.Zerial.Desktop/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 51d3181

Please sign in to comment.