mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
Update BasePlugin.cs
This commit is contained in:
parent
7e939fa2cb
commit
d31178ab4b
@ -57,7 +57,7 @@ namespace MediaBrowser.Common.Plugins
|
||||
/// </summary>
|
||||
public bool CanUninstall => !Path.GetDirectoryName(AssemblyFilePath)
|
||||
.Equals(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), StringComparison.InvariantCulture) &&
|
||||
!typeof(IPluginRegistrar).IsAssignableFrom(typeof(this));
|
||||
!typeof(IPluginRegistrar).IsAssignableFrom(this.GetType());
|
||||
|
||||
/// <summary>
|
||||
/// Gets the plugin info.
|
||||
|
Loading…
Reference in New Issue
Block a user