mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update MediaBrowser.Common/Plugins/BasePlugin.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
11a5353810
commit
429de72443
@ -56,8 +56,8 @@ namespace MediaBrowser.Common.Plugins
|
|||||||
/// Gets a value indicating whether the plugin can be uninstalled.
|
/// Gets a value indicating whether the plugin can be uninstalled.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool CanUninstall => !Path.GetDirectoryName(AssemblyFilePath)
|
public bool CanUninstall => !Path.GetDirectoryName(AssemblyFilePath)
|
||||||
.Equals(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), StringComparison.InvariantCulture) &&
|
.Equals(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), StringComparison.InvariantCulture)
|
||||||
!typeof(IPluginServiceRegistrator).IsAssignableFrom(this.GetType());
|
&& !typeof(IPluginServiceRegistrator).IsAssignableFrom(this.GetType());
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the plugin info.
|
/// Gets the plugin info.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user