mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-06-05 18:41:58 -09:00
fix browser side
This commit is contained in:
parent
c34d0277ba
commit
b0b5a469a4
@ -17,7 +17,7 @@ document.querySelector("#giveme").addEventListener("click", () => {
|
||||
var patchedFile = string;
|
||||
|
||||
EFIConfig.doServerExtras = false;
|
||||
patchedFile = patchClient(string, new DOMParser());
|
||||
patchedFile = await patchClient(string, new DOMParser());
|
||||
|
||||
var blob = new Blob([patchedFile], { type: file.type });
|
||||
saveAs(blob, "processed." + fileType);
|
||||
@ -41,7 +41,7 @@ document.querySelector("#givemeserver").addEventListener("click", () => {
|
||||
var patchedFile = string;
|
||||
|
||||
EFIConfig.doServerExtras = true;
|
||||
patchedFile = patchClient(string, new DOMParser());
|
||||
patchedFile = await patchClient(string, new DOMParser());
|
||||
|
||||
var blob = new Blob([patchedFile], { type: file.type });
|
||||
saveAs(blob, "efserver." + fileType);
|
||||
|
Loading…
x
Reference in New Issue
Block a user