From 494c2e312d1356f434f9dfdab15b336afa703353 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Fri, 14 Dec 2018 22:57:26 +0100 Subject: Fix changing ProgramDataPath when passed as and arg --- MediaBrowser.Server.Mono/Program.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'MediaBrowser.Server.Mono/Program.cs') 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); -- cgit v1.2.3