mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update mac project
This commit is contained in:
parent
63a0d52fd1
commit
4535368327
@ -69,10 +69,13 @@ namespace MediaBrowser.Server.Mac
|
|||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(programDataPath))
|
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>
|
/// <summary>
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user