Fix changing ProgramDataPath when passed as and arg

This commit is contained in:
Bond-009 2018-12-14 22:57:26 +01:00 committed by GitHub
parent afd6727c64
commit 494c2e312d

View File

@ -101,10 +101,9 @@ namespace MediaBrowser.Server.Mono
programDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "share"); 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); var appFolderPath = Path.GetDirectoryName(applicationPath);
return new ServerApplicationPaths(programDataPath, appFolderPath, appFolderPath); return new ServerApplicationPaths(programDataPath, appFolderPath, appFolderPath);