mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 14:28:46 +01:00
add ApplicationPath to app paths interface to hide implementation
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user