This repository was archived by the owner on Oct 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44using System . Reflection ;
55using System . Collections . Concurrent ;
66using System . Reflection . Emit ;
7+ using System . Runtime . CompilerServices ;
78
89namespace Outflow ;
910
@@ -24,6 +25,7 @@ public override void OnEngineInit()
2425 Harmony harmony = new ( "net.Cyro.Outflow" ) ;
2526 Config = GetConfiguration ( ) ;
2627 Config ? . Save ( true ) ;
28+ RuntimeHelpers . RunClassConstructor ( typeof ( Session_Patches ) . TypeHandle ) ;
2729 harmony . PatchAll ( ) ;
2830 }
2931#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
Original file line number Diff line number Diff line change 4040 <Reference Include =" Elements.Assets" >
4141 <HintPath >$(ResonitePath)Resonite_Data/Managed/Elements.Assets.dll</HintPath >
4242 </Reference >
43- </ItemGroup >
44-
45-
46- <ItemGroup >
47- <PackageReference Include =" Lib.Harmony" Version =" 2.2.2.0" />
43+ <Reference Include =" 0Harmony" >
44+ <HintPath >$(ResonitePath)Libraries/0Harmony.dll</HintPath >
45+ </Reference >
4846 </ItemGroup >
4947
5048
5452
5553
5654 <Target Name =" MoveBinary" AfterTargets =" Publish" >
57- <Copy SourceFiles =" $(PublishDir)$(TargetFileName)" DestinationFolder =" ./ $(ReleaseBuild)" />
55+ <Copy SourceFiles =" $(PublishDir)$(TargetFileName)" DestinationFolder =" $(ReleaseBuild)" />
5856 </Target >
5957
6058
You can’t perform that action at this time.
0 commit comments