Fix errors and assembly name

This commit is contained in:
Bond_009
2019-01-01 23:19:00 +01:00
committed by Vasily
parent 95a5dd8810
commit 9ccc259c99
2 changed files with 2 additions and 1 deletions

View File

@@ -134,7 +134,7 @@ namespace Jellyfin.Server
Environment.SetEnvironmentVariable("JELLYFIN_LOG_DIR", logDir);
}
string appPath = Assembly.GetEntryAssembly().Location;
string appPath = AppContext.BaseDirectory;
return new ServerApplicationPaths(programDataPath, appPath, appPath, logDir);
}