mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Update BasePlugin.cs
This commit is contained in:
@@ -56,8 +56,7 @@ namespace MediaBrowser.Common.Plugins
|
||||
/// Gets a value indicating whether the plugin can be uninstalled.
|
||||
/// </summary>
|
||||
public bool CanUninstall => !Path.GetDirectoryName(AssemblyFilePath)
|
||||
.Equals(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), StringComparison.InvariantCulture)
|
||||
&& !typeof(IPluginServiceRegistrator).IsAssignableFrom(this.GetType());
|
||||
.Equals(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), StringComparison.InvariantCulture);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the plugin info.
|
||||
|
||||
Reference in New Issue
Block a user