diff options
| author | Luke <luke.pulverenti@gmail.com> | 2015-04-16 11:41:23 -0400 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2015-04-16 11:41:23 -0400 |
| commit | 772a7938a0be9a6414ac4049e7b8ad93f3aedb48 (patch) | |
| tree | d65135d3cf8daacca2253a0662d71eb37e9f500e | |
| parent | 73688e3fcc2dea07bd11ff842276906942407c45 (diff) | |
use emby for program data on mac
| -rw-r--r-- | MediaBrowser.Server.Mac/Main.cs | 4 |
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 |
