Explorar o código

fix plugin uninstall

Luke Pulverenti %!s(int64=8) %!d(string=hai) anos
pai
achega
992ad9c2d9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Emby.Server.Implementations/Updates/InstallationManager.cs

+ 1 - 1
Emby.Server.Implementations/Updates/InstallationManager.cs

@@ -668,7 +668,7 @@ namespace Emby.Server.Implementations.Updates
             _logger.Info("Deleting plugin file {0}", path);
 
             // Make this case-insensitive to account for possible incorrect assembly naming
-            var file = _fileSystem.GetFilePaths(path)
+            var file = _fileSystem.GetFilePaths(_fileSystem.GetDirectoryName(path))
                 .FirstOrDefault(i => string.Equals(i, path, StringComparison.OrdinalIgnoreCase));
 
             if (!string.IsNullOrWhiteSpace(file))