You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -246,47 +241,4 @@ public void OnInstall(object sender, RoutedEventArgs e)
246
241
}
247
242
});
248
243
}
249
-
250
-
/// <summary>
251
-
/// Current MonoMod is outdated, and the new reorg is not ready yet, however we need v25 RD for NET9, yet Patcher v22 is the latest, and is not compatible with v25.
252
-
/// Ultimately the problem is OTAPI Client using both at once, unlike the server setup which doesnt.
253
-
/// For now, the intention is to replace the entire both with "return new string[0];" to prevent the GAC IL from being used (which it isn't anyway)
Copy file name to clipboardexpand all lines: OTAPI.Patcher/Targets/PatchTargets.cs
+49
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,11 @@ You should have received a copy of the GNU General Public License
18
18
*/
19
19
usingSystem;
20
20
usingSystem.Collections.Generic;
21
+
usingSystem.IO;
22
+
usingSystem.Linq;
23
+
usingSystem.Runtime.InteropServices;
24
+
usingMono.Cecil;
25
+
usingMono.Cecil.Cil;
21
26
22
27
namespaceOTAPI.Patcher.Targets;
23
28
@@ -68,4 +73,48 @@ public static IPatchTarget DeterminePatchTarget()
68
73
69
74
returnnewPCServerTarget();
70
75
}
76
+
77
+
staticPatchTargets()=>PatchMonoMod();
78
+
/// <summary>
79
+
/// Current MonoMod is outdated, and the new reorg is not ready yet, however we need v25 RD for NET9, yet Patcher v22 is the latest, and is not compatible with v25.
80
+
/// Ultimately the problem is OTAPI using both relinker+rd at once.
81
+
/// For now, the intention is to replace the entire both with "return new string[0];" to prevent the GAC IL from being used (which it isn't anyway)
0 commit comments