aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2018-12-14 22:57:26 +0100
committerGitHub <noreply@github.com>2018-12-14 22:57:26 +0100
commit494c2e312d1356f434f9dfdab15b336afa703353 (patch)
tree4eab40c3c6013d2d483c6fb861d7708cf4c8c225
parentafd6727c64896e06ade30aed4f515b8173c0d1ad (diff)
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);