mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-10 22:47:27 +08:00
[O] better polyfill load
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using AquaMai.Fix;
|
||||
using AquaMai.Helpers;
|
||||
@@ -35,6 +36,9 @@ namespace AquaMai
|
||||
{
|
||||
Patch(nested);
|
||||
}
|
||||
|
||||
var customMethod = type.GetMethod("DoCustomPatch", BindingFlags.Public | BindingFlags.Static);
|
||||
customMethod?.Invoke(null, [HarmonyInstance]);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user