diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2018-12-14 16:59:25 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-14 16:59:25 -0500 |
| commit | 28a2774883ac522159c845cb16e60c53b1389f15 (patch) | |
| tree | 4eab40c3c6013d2d483c6fb861d7708cf4c8c225 | |
| parent | afd6727c64896e06ade30aed4f515b8173c0d1ad (diff) | |
| parent | 494c2e312d1356f434f9dfdab15b336afa703353 (diff) | |
Merge pull request #159 from Bond-009/patch-1
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); |
