Explorar o código

Fix already installed check

Bepis %!s(int64=6) %!d(string=hai) anos
pai
achega
a12d48500f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      BepInEx.Patcher/Program.cs

+ 1 - 1
BepInEx.Patcher/Program.cs

@@ -182,7 +182,7 @@ namespace BepInEx.Patcher
             message = "";
 
             //check if already patched
-            if (unity.MainModule.AssemblyReferences.Any(x => x.Name == "BepInEx"))
+            if (unity.MainModule.AssemblyReferences.Any(x => x.Name.Contains("BepInEx")))
             {
                 canPatch = false;