Преглед изворни кода

Fix changing ProgramDataPath when passed as and arg

Bond-009 пре 6 година
родитељ
комит
494c2e312d
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      MediaBrowser.Server.Mono/Program.cs

+ 1 - 2
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);