diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-04 09:52:38 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-04 09:52:38 -0500 |
| commit | 4e79eaf65e8edb895f9337a8b878ff9ef312b3f6 (patch) | |
| tree | ae9f74aad256236ada5203fae1f1640867d13360 /MediaBrowser.ServerApplication/MainStartup.cs | |
| parent | 40959a816f49d040e16e0178d0e11d51282d98cc (diff) | |
add ApplicationPath to app paths interface to hide implementation
Diffstat (limited to 'MediaBrowser.ServerApplication/MainStartup.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/MainStartup.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs index d3eed5c48..349cbbc61 100644 --- a/MediaBrowser.ServerApplication/MainStartup.cs +++ b/MediaBrowser.ServerApplication/MainStartup.cs @@ -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> |
