pull/4522/head
Greenback 4 years ago
parent 32b92641fb
commit d6b0a939f7

@ -779,7 +779,7 @@ namespace Emby.Server.Implementations
// Ensure the version number matches the Plugin Manifest information. // Ensure the version number matches the Plugin Manifest information.
foreach (var item in _pluginsManifests) foreach (var item in _pluginsManifests)
{ {
if (item.Path.Equals(plugin.AssemblyFilePath, StringComparison.OrdinalIgnoreCase)) if (Path.GetDirectoryName(plugin.AssemblyFilePath).Equals(item.Path, StringComparison.OrdinalIgnoreCase))
{ {
// Update version number to that of the manifest. // Update version number to that of the manifest.
assemblyPlugin.SetAttributes( assemblyPlugin.SetAttributes(

Loading…
Cancel
Save