|
|
@ -57,7 +57,7 @@ namespace MediaBrowser.Common.Plugins
|
|
|
|
/// </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(IPluginRegistrar).IsAssignableFrom(typeof(this));
|
|
|
|
!typeof(IPluginRegistrar).IsAssignableFrom(this.GetType());
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the plugin info.
|
|
|
|
/// Gets the plugin info.
|
|
|
|