mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
use emby for program data on mac
This commit is contained in:
parent
73688e3fcc
commit
772a7938a0
@ -62,6 +62,10 @@ namespace MediaBrowser.Server.Mac
|
|||||||
{
|
{
|
||||||
// TODO: Use CommonApplicationData? Will we always have write access?
|
// TODO: Use CommonApplicationData? Will we always have write access?
|
||||||
programDataPath = Path.Combine(Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData), "mediabrowser-server");
|
programDataPath = Path.Combine(Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData), "mediabrowser-server");
|
||||||
|
|
||||||
|
if (!Directory.Exists (programDataPath)) {
|
||||||
|
programDataPath = Path.Combine(Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData), "emby-server");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Within the mac bundle, go uo two levels then down into Resources folder
|
// Within the mac bundle, go uo two levels then down into Resources folder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user