mirror of
https://github.com/lordfriky/web-cfw-loader.git
synced 2024-12-27 23:51:55 +00:00
made instaboot up-to-date
This commit is contained in:
parent
49a309ad64
commit
f1dfce89ab
4
main.js
4
main.js
@ -152,7 +152,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||
alert("You need to upload a file, to use an uploaded file.");
|
||||
return;
|
||||
}
|
||||
logOutput("Using uploaded payload \"" + file + "\"");
|
||||
logOutput("Using uploaded payload \"" + file.name + "\"");
|
||||
payload = new Uint8Array(await readFileAsArrayBuffer(file));
|
||||
} else {
|
||||
logOutput("<span style='color:red'>You're trying to load a payload type that doesn't exist.</span>");
|
||||
@ -166,7 +166,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||
for (var i = 0; i < payload.length; i++) {
|
||||
payloadToLog += "0x" + payload[i].toString(16) + ", ".toUpperCase();
|
||||
}
|
||||
payloadToLog = payloadToLog.toUpperCase();
|
||||
payloadToLog = payloadToLog;
|
||||
logOutput(payloadToLog);
|
||||
return;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user