@@ -12,7 +12,7 @@ Remove-Item $Path/UnhollowerBaseLib.dll
1212New-Item - Path " $Path " - Name " Mods" - ItemType " directory" - Force
1313Move-Item - Path $Path / UnityExplorer.ML.IL2CPP.net6preview.dll - Destination $Path / Mods - Force
1414New-Item - Path " $Path " - Name " UserLibs" - ItemType " directory" - Force
15- Move-Item - Path $Path / UniverseLib.IL2CPP.dll - Destination $Path / UserLibs - Force
15+ Move-Item - Path $Path / UniverseLib.IL2CPP.Unhollower. dll - Destination $Path / UserLibs - Force
1616# (create zip archive)
1717Remove-Item $Path / ../ UnityExplorer.MelonLoader.IL2CPP.net6preview.zip - ErrorAction SilentlyContinue
18187z a $Path / ../ UnityExplorer.MelonLoader.IL2CPP.net6preview.zip .\$Path \*
@@ -30,7 +30,7 @@ Remove-Item $Path/UnhollowerBaseLib.dll
3030New-Item - Path " $Path " - Name " Mods" - ItemType " directory" - Force
3131Move-Item - Path $Path / UnityExplorer.ML.IL2CPP.dll - Destination $Path / Mods - Force
3232New-Item - Path " $Path " - Name " UserLibs" - ItemType " directory" - Force
33- Move-Item - Path $Path / UniverseLib.IL2CPP.dll - Destination $Path / UserLibs - Force
33+ Move-Item - Path $Path / UniverseLib.IL2CPP.Unhollower. dll - Destination $Path / UserLibs - Force
3434# (create zip archive)
3535Remove-Item $Path / ../ UnityExplorer.MelonLoader.IL2CPP.zip - ErrorAction SilentlyContinue
36367z a $Path / ../ UnityExplorer.MelonLoader.IL2CPP.zip .\$Path \*
@@ -64,11 +64,32 @@ Remove-Item $Path/UnhollowerBaseLib.dll
6464New-Item - Path " $Path " - Name " plugins" - ItemType " directory" - Force
6565New-Item - Path " $Path " - Name " plugins/sinai-dev-UnityExplorer" - ItemType " directory" - Force
6666Move-Item - Path $Path / UnityExplorer.BIE.IL2CPP.dll - Destination $Path / plugins/ sinai- dev- UnityExplorer - Force
67- Move-Item - Path $Path / UniverseLib.IL2CPP.dll - Destination $Path / plugins/ sinai- dev- UnityExplorer - Force
67+ Move-Item - Path $Path / UniverseLib.IL2CPP.Unhollower. dll - Destination $Path / plugins/ sinai- dev- UnityExplorer - Force
6868# (create zip archive)
6969Remove-Item $Path / ../ UnityExplorer.BepInEx.IL2CPP.zip - ErrorAction SilentlyContinue
70707z a $Path / ../ UnityExplorer.BepInEx.IL2CPP.zip .\$Path \*
7171
72+ # ----------- BepInEx IL2CPP CoreCLR -----------
73+ dotnet build src/ UnityExplorer.sln - c Release_BIE_CoreCLR
74+ $Path = " Release/UnityExplorer.BepInEx.IL2CPP.CoreCLR"
75+ # ILRepack
76+ lib/ ILRepack.exe / target:library / lib:lib/ net472 / lib:lib/ net6/ / lib:lib/ interop/ / lib:$Path / internalize / out:$Path / UnityExplorer.BIE.IL2CPP.CoreCLR.dll $Path / UnityExplorer.BIE.IL2CPP.CoreCLR.dll $Path / mcs.dll $Path / Tomlet.dll
77+ # (cleanup and move files)
78+ Remove-Item $Path / Tomlet.dll
79+ Remove-Item $Path / mcs.dll
80+ Remove-Item $Path / Iced.dll
81+ Remove-Item $Path / Il2CppInterop.Common.dll
82+ Remove-Item $Path / Il2CppInterop.Runtime.dll
83+ Remove-Item $Path / Microsoft.Extensions.Logging.Abstractions.dll
84+ Remove-Item $Path / UnityExplorer.BIE.IL2CPP.CoreCLR.deps.json
85+ New-Item - Path " $Path " - Name " plugins" - ItemType " directory" - Force
86+ New-Item - Path " $Path " - Name " plugins/sinai-dev-UnityExplorer" - ItemType " directory" - Force
87+ Move-Item - Path $Path / UnityExplorer.BIE.IL2CPP.CoreCLR.dll - Destination $Path / plugins/ sinai- dev- UnityExplorer - Force
88+ Move-Item - Path $Path / UniverseLib.IL2CPP.Interop.dll - Destination $Path / plugins/ sinai- dev- UnityExplorer - Force
89+ # (create zip archive)
90+ Remove-Item $Path / ../ UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip - ErrorAction SilentlyContinue
91+ 7z a $Path / ../ UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip .\$Path \*
92+
7293# ----------- BepInEx 5 Mono -----------
7394dotnet build src/ UnityExplorer.sln - c Release_BIE5_Mono
7495$Path = " Release/UnityExplorer.BepInEx5.Mono"
0 commit comments