mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-09-06 05:36:53 +00:00
fix: Fixed the path issue #128.
We should avoid using the Directory.GetCurrentDirectory() method, as it can result in retrieving incorrect paths.
This commit is contained in:
@@ -83,7 +83,7 @@ namespace ZonyLrcTools.Cli
|
||||
.ConfigureHostConfiguration(builder =>
|
||||
{
|
||||
builder
|
||||
.SetBasePath(Directory.GetCurrentDirectory())
|
||||
.SetBasePath(AppDomain.CurrentDomain.BaseDirectory)
|
||||
.AddYamlFile("config.yaml");
|
||||
})
|
||||
.ConfigureServices((_, services) =>
|
||||
|
Reference in New Issue
Block a user