mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Fix already installed check
This commit is contained in:
1 parent
066e171dbd
commit
a12d48500f
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user