mirror of
https://github.com/lordfriky/web-cfw-loader.git
synced 2025-01-18 18:41:28 +00:00
Update main.js
This commit is contained in:
parent
71ded9b78b
commit
d2167a4e34
1
main.js
1
main.js
@ -111,6 +111,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||
if(debugCheckbox.checked) {
|
||||
if (payloadType === "uploaded") {
|
||||
const file = document.getElementById("payloadUpload").files[0];
|
||||
file = new Uint8Array(await readFileAsArrayBuffer(file));
|
||||
} else if (payloadType === "fusee.bin") {
|
||||
const file = fusee;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user