소스 검색

Merge pull request #159 from Bond-009/patch-1

Fix changing ProgramDataPath when passed as and arg
Joshua M. Boniface 6 년 전
부모
커밋
28a2774883
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);