diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-01-01 23:19:00 +0100 |
|---|---|---|
| committer | Vasily <JustAMan@users.noreply.github.com> | 2019-01-02 02:30:59 +0300 |
| commit | 9ccc259c99b11469cd93cb3e15ad2f69f54f0b46 (patch) | |
| tree | 49c60219e1575c9d7748da292616f508cc5e3bf9 /Jellyfin.Server/Program.cs | |
| parent | 95a5dd881076f6649f4b5dc5a1897df98dc3c008 (diff) | |
Fix errors and assembly name
Diffstat (limited to 'Jellyfin.Server/Program.cs')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index aef22e020..73c7a0c7c 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -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);
}
|
