diff options
| author | Bond-009 <bond.009@outlook.com> | 2018-12-14 22:57:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-14 22:57:26 +0100 |
| commit | 494c2e312d1356f434f9dfdab15b336afa703353 (patch) | |
| tree | 4eab40c3c6013d2d483c6fb861d7708cf4c8c225 | |
| parent | afd6727c64896e06ade30aed4f515b8173c0d1ad (diff) | |
Fix changing ProgramDataPath when passed as and arg
| -rw-r--r-- | MediaBrowser.Server.Mono/Program.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Mono/Program.cs b/MediaBrowser.Server.Mono/Program.cs index 21de06ccc..887a9545f 100644 --- a/MediaBrowser.Server.Mono/Program.cs +++ b/MediaBrowser.Server.Mono/Program.cs @@ -101,10 +101,9 @@ namespace MediaBrowser.Server.Mono programDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "share"); } } + programDataPath = Path.Combine(programDataPath, "jellyfin"); } - programDataPath = Path.Combine(programDataPath, "jellyfin"); - var appFolderPath = Path.GetDirectoryName(applicationPath); return new ServerApplicationPaths(programDataPath, appFolderPath, appFolderPath); |
