Update main.js
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…
Reference in New Issue