mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update BasePlugin.cs
This commit is contained in:
parent
7e939fa2cb
commit
d31178ab4b
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user