Merge branch 'master' into master

pull/5/head
Elijah Bansley 2018-05-21 14:05:20 -05:00 committed by GitHub
commit 7b0a5b2b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View File

@ -7,5 +7,8 @@ This is a port of [fusee-launcher](https://github.com/reswitched/fusee-launcher)
# Forked
This is also a fork of [web-fusee-launcher](https://github.com/atlas44/web-fusee-launcher), which I fixed up a bit, added hekate 5 and 4, and did some CSS stuff.
# Instant CFW Payload
This site uses a payload made by me that instantly boots CFW with hekate. you can find it [here](https://github.com/ElijahZAwesome/hekate-ipl-instant-boot-edition).
# Try it out
Either use a web server to host the files (must be on https!) or you can try the [demo](https://elijahzawesome.github.io/web-cfw-loader/).

View File

@ -5,7 +5,7 @@
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css" />
<link href="favicon.png" rel="icon" type="image/x-icon" />
<title>Switch Payload Loader v1.2</title>
<title>Switch Payload Loader v1.3</title>
<!-- JQuery: needed for some Bootstrap Components -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
@ -39,6 +39,10 @@
<div class="row margin-top-md" id="infodiv">
<div class="col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3">
<div class="alert alert-danger" role="alert">
<p>For some reason, uploaded payloads are not working. I'm currently trying to fix this.</p>
</div>
<div class="alert alert-danger" role="alert">
<p>This is moderately tested. Although no issues have been discovered, I'm not responsible if anything goes wrong!</p>
@ -146,6 +150,7 @@
<p>Source can be found on <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (or by hitting view source, there is no backend!).</p>
<p>Ported from <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.</p>
<p>Thanks to ktemkin and ReSwitched, as well as <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 and his website</a> as a beginning point for this one. </p>
<p>Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, and <a href="https://github.com/Filo97">Filo97</a> for the italian translation.</p>
</div>
</div>
</div>

View File

@ -152,6 +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.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>");
@ -165,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;
}
@ -201,6 +202,3 @@ function openInstructions() {
document.getElementById("infodiv").innerHTML = "";
}
}
document.getElementById("payloadUpload").addEventListener("change", () => document.forms.mainForm.payload.value = "uploaded");

File diff suppressed because one or more lines are too long