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

Fix changing ProgramDataPath when passed as and arg
This commit is contained in:
Joshua M. Boniface 2018-12-14 16:59:25 -05:00 committed by GitHub
commit 28a2774883

View File

@ -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);