aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2018-12-14 16:59:25 -0500
committerGitHub <noreply@github.com>2018-12-14 16:59:25 -0500
commit28a2774883ac522159c845cb16e60c53b1389f15 (patch)
tree4eab40c3c6013d2d483c6fb861d7708cf4c8c225
parentafd6727c64896e06ade30aed4f515b8173c0d1ad (diff)
parent494c2e312d1356f434f9dfdab15b336afa703353 (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.cs3
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);