Skip to content

Commit a23612f

Browse files
authored
Bump Cpp2IL & Il2CppInterop (#869)
1 parent 4901521 commit a23612f

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎Runtimes/Unity/BepInEx.Unity.Common/BepInEx.Unity.Common.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="AssetRipper.VersionUtilities" Version="1.2.1"/>
9+
<PackageReference Include="AssetRipper.Primitives" Version="2.1.1"/>
1010
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="all"/>
1111
<PackageReference Include="MonoMod.Utils" Version="22.5.1.1"/>
1212
</ItemGroup>

‎Runtimes/Unity/BepInEx.Unity.Common/UnityInfo.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
using System;
1+
using System;
22
using System.Diagnostics;
33
using System.IO;
44
using System.Runtime.CompilerServices;
55
using System.Text;
6-
using AssetRipper.VersionUtilities;
6+
using AssetRipper.Primitives;
77
using MonoMod.Utils;
88

99
[assembly: InternalsVisibleTo("BepInEx.Unity.Mono.Preloader")]

‎Runtimes/Unity/BepInEx.Unity.IL2CPP/BepInEx.Unity.IL2CPP.csproj‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Description>BepInEx support library for Il2Cpp games</Description>
44
<TargetFramework>net6.0</TargetFramework>
@@ -14,15 +14,15 @@
1414
</ItemGroup>
1515
<ItemGroup>
1616
<PackageReference Include="HarmonyX" Version="2.10.1"/>
17-
<PackageReference Include="Iced" Version="1.18.0"/>
18-
<PackageReference Include="Il2CppInterop.Generator" Version="1.4.6-ci.389"/>
19-
<PackageReference Include="Il2CppInterop.HarmonySupport" Version="1.4.6-ci.389"/>
17+
<PackageReference Include="Iced" Version="1.20.0"/>
18+
<PackageReference Include="Il2CppInterop.Generator" Version="1.4.6-ci.426"/>
19+
<PackageReference Include="Il2CppInterop.HarmonySupport" Version="1.4.6-ci.426"/>
2020
<PackageReference Include="Il2CppInterop.ReferenceLibs" Version="1.0.0" IncludeAssets="compile" PrivateAssets="all"/>
21-
<PackageReference Include="Il2CppInterop.Runtime" Version="1.4.6-ci.389"/>
21+
<PackageReference Include="Il2CppInterop.Runtime" Version="1.4.6-ci.426"/>
2222
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" IncludeAssets="compile" PrivateAssets="all"/>
2323
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" IncludeAssets="compile" PrivateAssets="all"/>
2424
<PackageReference Include="MonoMod.RuntimeDetour" Version="22.5.1.1"/>
25-
<PackageReference Include="Samboy063.Cpp2IL.Core" Version="2022.1.0-development.866"/>
25+
<PackageReference Include="Samboy063.Cpp2IL.Core" Version="2022.1.0-development.972"/>
2626
</ItemGroup>
2727

2828
<!-- CopyLocalLockFileAssemblies causes to also output shared assemblies: https://github.com/NuGet/Home/issues/4837#issuecomment-354536302 -->

‎Runtimes/Unity/BepInEx.Unity.IL2CPP/Il2CppInteropManager.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ private static void DownloadUnityAssemblies()
316316
cpp2IlProcessingLayer.Process(Cpp2IlApi.CurrentAppContext);
317317
}
318318

319-
var assemblies = new AsmResolverDummyDllOutputFormat().BuildAssemblies(Cpp2IlApi.CurrentAppContext);
319+
var assemblies = new AsmResolverDllOutputFormatDefault().BuildAssemblies(Cpp2IlApi.CurrentAppContext);
320320

321321
LibCpp2IlMain.Reset();
322322
Cpp2IlApi.CurrentAppContext = null;

‎Runtimes/Unity/BepInEx.Unity.Mono.Preloader/EntrypointPatcher.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ internal class EntrypointPatcher : BasePatcher
3131
"The name of the method in the specified entrypoint assembly and type to hook and load Chainloader from.");
3232

3333
private static string DefaultEntrypointAssembly =>
34-
UnityInfo.Version.IsLess(2017) ? "UnityEngine.dll" : "UnityEngine.CoreModule.dll";
34+
UnityInfo.Version.LessThan(2017) ? "UnityEngine.dll" : "UnityEngine.CoreModule.dll";
3535

36-
private static string DefaultEntrypointType => UnityInfo.Version.IsLess(5) ? "MonoBehaviour" : "Application";
36+
private static string DefaultEntrypointType => UnityInfo.Version.LessThan(5) ? "MonoBehaviour" : "Application";
3737

3838
private bool HasLoaded { get; set; }
3939

0 commit comments

Comments
 (0)