|
|
@ -56,8 +56,7 @@ 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());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the plugin info.
|
|
|
|
/// Gets the plugin info.
|
|
|
|