Skip to content

The Free Software Media System - Server Backend & API

Fix changing ProgramDataPath when passed as and arg

Bond-009494c2e312d13
diff --git a/MediaBrowser.Server.Mono/Program.cs b/MediaBrowser.Server.Mono/Program.cs
index 21de06ccc1..887a9545f5 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);