mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
Updated plugins to store their assemblies directly in the plugins folder
This commit is contained in:
parent
9baf40becb
commit
31357d3298
@@ -47,6 +47,27 @@ namespace MediaBrowser.Common.Kernel
|
||||
}
|
||||
}
|
||||
|
||||
private string _pluginConfigurationsPath;
|
||||
/// <summary>
|
||||
/// Gets the path to the plugin configurations directory
|
||||
/// </summary>
|
||||
public string PluginConfigurationsPath
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_pluginConfigurationsPath == null)
|
||||
{
|
||||
_pluginConfigurationsPath = Path.Combine(PluginsPath, "configurations");
|
||||
if (!Directory.Exists(_pluginConfigurationsPath))
|
||||
{
|
||||
Directory.CreateDirectory(_pluginConfigurationsPath);
|
||||
}
|
||||
}
|
||||
|
||||
return _pluginConfigurationsPath;
|
||||
}
|
||||
}
|
||||
|
||||
private string _logDirectoryPath;
|
||||
/// <summary>
|
||||
/// Gets the path to the log directory
|
||||
|
||||
Reference in New Issue
Block a user