update mac project

This commit is contained in:
Luke 2014-11-26 16:16:04 -05:00
parent 63a0d52fd1
commit 4535368327
2 changed files with 2712 additions and 2 deletions

View File

@ -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