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
94af1940f4
commit
fabc75d9eb
3
main.js
3
main.js
@ -132,6 +132,8 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||
clearLog();
|
||||
var debugCheckbox = document.getElementById("shouldDebug");
|
||||
const payloadType = document.getElementById("payloadSelect").value;
|
||||
|
||||
if(!debugCheckbox.checked) {
|
||||
|
||||
logOutput("Requesting access to device...");
|
||||
try {
|
||||
@ -141,6 +143,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||
logOutput("Failed to get a device. Did you chose one?");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
let payload;
|
||||
if (payloadType === "hekate v5") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user