Update BasePlugin.cs

This commit is contained in:
BaronGreenback 2020-10-12 20:33:08 +01:00 committed by GitHub
parent 53bea919d0
commit 257acbc2c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(this.GetType());
!typeof(IPluginServiceRegistrator).IsAssignableFrom(this.GetType());
/// <summary>
/// Gets the plugin info.