Merge pull request #32 from fgc0109/fix_publish

fix publish single file
main
walon 2022-12-07 10:58:56 +08:00 committed by GitHub
commit 2962b6a1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ namespace Luban.Common.Utils
public static string GetApplicationDirectory()
{
return Path.GetDirectoryName(System.Reflection.Assembly.GetCallingAssembly().Location);
return AppContext.BaseDirectory;
}
public static string GetPathRelateApplicationDirectory(string relatePath)