mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-26 15:29:26 -09:00
move patch step location
This commit is contained in:
parent
134967456c
commit
1f45523ef7
@ -263,6 +263,10 @@ var main;(function(){`
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
_status("Applying bonus patches from patch registry...");
|
||||||
|
await wait(50);
|
||||||
|
patchedFile = PatchesRegistry.patchFile(patchedFile);
|
||||||
|
|
||||||
if (globalThis.doShronk) {
|
if (globalThis.doShronk) {
|
||||||
_status("Shrinking file...");
|
_status("Shrinking file...");
|
||||||
await wait(50);
|
await wait(50);
|
||||||
@ -288,10 +292,6 @@ var main;(function(){`
|
|||||||
return match.replace("main();", "main();ModAPI.hooks._postInit();");
|
return match.replace("main();", "main();ModAPI.hooks._postInit();");
|
||||||
});
|
});
|
||||||
|
|
||||||
_status("Applying bonus patches from patch registry...");
|
|
||||||
await wait(50);
|
|
||||||
patchedFile = PatchesRegistry.patchFile(patchedFile);
|
|
||||||
|
|
||||||
_status("Done, awaiting input...");
|
_status("Done, awaiting input...");
|
||||||
await wait(50);
|
await wait(50);
|
||||||
return patchedFile;
|
return patchedFile;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user