mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-12 13:16:19 +00:00
update mac project
This commit is contained in:
@@ -69,10 +69,13 @@ namespace MediaBrowser.Server.Mac
|
||||
{
|
||||
if (string.IsNullOrEmpty(programDataPath))
|
||||
{
|
||||
programDataPath = Path.Combine(Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData), "mediabrowser");
|
||||
// TODO: Use CommonApplicationData? Will we always have write access?
|
||||
programDataPath = Path.Combine(Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData), "mediabrowser-server");
|
||||
}
|
||||
// p5437mav0ABB83l
|
||||
var resourcesPath = Path.Combine(Path.GetDirectoryName (applicationPath), "Resources");
|
||||
|
||||
return new ServerApplicationPaths(programDataPath, applicationPath);
|
||||
return new ServerApplicationPaths(programDataPath, applicationPath, resourcesPath);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user