add ApplicationPath to app paths interface to hide implementation

This commit is contained in:
Luke Pulverenti
2013-12-04 09:52:38 -05:00
parent 40959a816f
commit 4e79eaf65e
13 changed files with 110 additions and 38 deletions

View File

@@ -158,7 +158,9 @@ namespace MediaBrowser.ServerApplication
return new ServerApplicationPaths(programDataPath);
}
return new ServerApplicationPaths();
var applicationPath = Process.GetCurrentProcess().MainModule.FileName;
return new ServerApplicationPaths(applicationPath);
}
/// <summary>