aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Mac/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Mac/Main.cs')
-rw-r--r--MediaBrowser.Server.Mac/Main.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Mac/Main.cs b/MediaBrowser.Server.Mac/Main.cs
index 0a1fd1b3d..b4184f3b1 100644
--- a/MediaBrowser.Server.Mac/Main.cs
+++ b/MediaBrowser.Server.Mac/Main.cs
@@ -62,6 +62,10 @@ namespace MediaBrowser.Server.Mac
{
// TODO: Use CommonApplicationData? Will we always have write access?
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