Skip to content

Commit

Permalink
appsettings read off
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilLord666 committed Mar 5, 2024
1 parent 51d3181 commit 5264445
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Wissance.Zerial/Wissance.Zerial.Desktop/App.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public class App : Application
static App()
{
// appsettings is optional due to we don't actually know install dir i.e. in Snap, but we could execute from any working dir
IConfigurationBuilder builder;
try
IConfigurationBuilder builder = new ConfigurationBuilder();
/*try
{
builder = new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirectory())
Expand All @@ -24,7 +24,7 @@ static App()
catch (Exception e)
{
builder = new ConfigurationBuilder();
}
}*/

Configuration = builder.Build();

Expand Down

0 comments on commit 5264445

Please sign in to comment.