mirror of
https://github.com/lordfriky/web-cfw-loader.git
synced 2024-12-29 00:21:56 +00:00
Update main.js
This commit is contained in:
parent
eaab35aa6a
commit
0e9aa20e6c
6
main.js
6
main.js
@ -115,6 +115,8 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
|||||||
payload = hekate5;
|
payload = hekate5;
|
||||||
} else if (payloadType === "hekate v4") {
|
} else if (payloadType === "hekate v4") {
|
||||||
payload = hekate4;
|
payload = hekate4;
|
||||||
|
} else if (payloadType === "fusee") {
|
||||||
|
payload = fusee;
|
||||||
} else if (payloadType === "uploaded") {
|
} else if (payloadType === "uploaded") {
|
||||||
const file = document.getElementById("payloadUpload").files[0];
|
const file = document.getElementById("payloadUpload").files[0];
|
||||||
if (!file) {
|
if (!file) {
|
||||||
@ -140,10 +142,12 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
|||||||
logOutput(`Preparing to launch ${payloadType}...`);
|
logOutput(`Preparing to launch ${payloadType}...`);
|
||||||
|
|
||||||
let payload;
|
let payload;
|
||||||
if (payloadType === "fusee.bin") {
|
if (payloadType === "hekate5") {
|
||||||
payload = hekate5;
|
payload = hekate5;
|
||||||
} else if (payloadType === "hekate4") {
|
} else if (payloadType === "hekate4") {
|
||||||
payload = hekate4;
|
payload = hekate4;
|
||||||
|
} else if (payloadType === "fusee") {
|
||||||
|
payload = fusee;
|
||||||
} else if (payloadType === "uploaded") {
|
} else if (payloadType === "uploaded") {
|
||||||
const file = document.getElementById("payloadUpload").files[0];
|
const file = document.getElementById("payloadUpload").files[0];
|
||||||
if (!file) {
|
if (!file) {
|
||||||
|
Loading…
Reference in New Issue
Block a user