File tree Expand file tree Collapse file tree
BepInEx.Unity.Mono.Preloader Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using System . Diagnostics ;
33using System . IO ;
44using System . Runtime . CompilerServices ;
55using System . Text ;
6- using AssetRipper . VersionUtilities ;
6+ using AssetRipper . Primitives ;
77using MonoMod . Utils ;
88
99[ assembly: InternalsVisibleTo ( "BepInEx.Unity.Mono.Preloader" ) ]
Original file line number Diff line number Diff line change 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 >
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 -->
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments