Awesome Pull Request (#45)

* Update README

* Delete unneeded file

* Update language stuff

* Update disclaimer (1/2)

* Update disclaimer (2/2)

It still need to be updated on some languages, but that's all I could do for now :b

* Oops

I forgot to include this in the last commit :b

* Update README

I think you should include all the colaborators in the readme as well, not only Elijah

Btw, I'm arranging them in the order in which the languages ​​are shown (excluding Thomleg :b)

* Clearing all Thomleg traces...

* Remove Briccmii

C'mon, was it even necessary to include it in the first place? Hekate can also install AutoRCM by itself...

* Put payloads in individual files

* Add fusee-primary for Atmosphère 0.8.3

* Add proper contribuiting instructions

Plz, improve my grammar on the CONTRIBUITING file, english is hard >.<

* 🤦 x2, maintaing

English is hard x2

* Bump version to 1.4

Because, why not? :b
pull/46/head
Lord Friky 2019-02-11 06:59:27 -06:00 committed by tomGER
parent 0f02921cf7
commit e6357d48b2
21 changed files with 207 additions and 86 deletions

80
CONTRIBUTING.md 100644
View File

@ -0,0 +1,80 @@
# Contributing
## Adding a new translation
1. Fork this repo in your GitHub account.
2. Clone your fork into your computer.
3. Make a copy of `en-US.js` (you can find it inside the `i18n` folder) and start translating all the strings to your language using your favorite text editor.
4. When you finish, save it with your locale as name (e.g. `fr-FR.js` if you are working on a french translation) inside that folder.
5. Open the `i18n.js` file.
6. Look for `else langObj = enUS;` and add your locale in this format right before it:
```
else if (lang === "your-locale")
langObj = yourLocale;
```
7. Finally open `index.html` and look for this line:
```
<script src="./i18n.js"></script>
```
8. Add a reference to your file before the previous line in this format:
```
<script src="./i18n/your-locale.js"></script>
```
9. Now you're done, upload your changes to your fork in GitHub and make a [pull request](https://github.com/AtlasNX/web-cfw-loader/compare).
## Updating/Adding a payload
1. Fork this repo in your GitHub account.
2. Clone your fork into your computer.
3. Create a `.js` file inside the `payloads` folder with the name of the payload (if you are adding one).
4. Open that file with your favorite text editor.
5. **(Optional)** Add these lines at the beggining of the file, or update them if you are updating the payload, just for cosmetic purposes:
```
// Payload Name and Version
// Sourced from https://www.example.com/link/to/your/payload.bin
```
6. Add the line `const your_payload_name = new Uint8Array([` to the file (if you are creating it).
7. Go to [web-cfw-loader](https://webcfw.sdsetup.com/), select *Upload payload*, open your updated/new payload and check *Get payload byte array (don't sploit)*.
8. Press *Deliver Payload!* and copy the byte array from the log (the entire text after `Logging payload bytes...`).
9. Paste the byte array right after `Uint8Array([`.
10. Delete `, ` at the end of the array and append `]);`.
11. Save the file.
#### If you are updating a payload
12. Open `index.html` and look for the payload option.
13. Bump its version to the corresponding one.
14. Open every of the language files (the `.js` files from the `i18n` folder), look for the payload string and bump its version number too.
15. Finally, upload your changes to your fork in GitHub and make a [pull request](https://github.com/AtlasNX/web-cfw-loader/compare).
#### If you are adding a payload
12. Open `main.js` and look for the string `} else if (payloadType === "uploaded") {`.
13. Add the new payload right before it using this format:
```
} else if (payloadType === "your_payload_name") {
payload = your_payload_name;
```
14. Save the file and open `index.html`.
15. Look for the string `<option value="uploaded" id="optionUpload" >Upload payload</option>` and add the new an option for the new payload using this format:
```
<option value="your_payload_name" id="optionTheNewPayload" >The New Payload Name And Its Version</option>
```
16. On the same file, go down to `<script src="./main.js"></script>` and add the path to the payload right before it using this format:
```
<script src="./payloads/payloadname.js"></script>
```
17. Save it, open `i18n.js` and look for this string `document.getElementById("optionUpload").innerHTML = langObj.optionUpload;`
18. Again, append the payload option id to the previous line using this format:
```
document.getElementById("optionFusee").innerHTML = langObj.optionFusee;
```
19. Finally, open every of the language files (the `.js` files inside the `i18n` folder) and add the payload to them using this format (you already know where):
```
"optionTheNewPayload" : "The New Payload Name And Its Version",
```
20. Congrats, you did it! Now, upload your changes to your fork in GitHub and make a [pull request](https://github.com/AtlasNX/web-cfw-loader/compare).
## **Extra:** Test your changes before making a pull request
If you want to confirm that your changes work before suggesting them follow these steps:
1. Make sure all your changes are successfully uploaded to your fork in GitHub.
2. Go to your repo settings.
3. Go down to GitHub Pages and select *master branch* in *Source*.
4. Click *Save* and wait a few seconds.
5. Now, you should see your site at *https://YourGitHubUsername.github.io/web-cfw-loader/*.
6. If everything is alright, now is the time to make a [pull request](https://github.com/AtlasNX/web-cfw-loader/compare).

View File

@ -8,8 +8,21 @@ This is a port of [fusee-launcher](https://github.com/reswitched/fusee-launcher)
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.
# Try it out
Either use a web server to host the files (must be on https, because of the fact that WebUSB is new technology and therefore has a lot of security restrictions) or you can try it [on github pages](https://webcfw.sdsetup.com/).
Either use a web server to host the files (must be on https, because of the fact that WebUSB is new technology and therefore has a lot of security restrictions) or you can try it [here](https://webcfw.sdsetup.com/).
# Credit
# Contribute to this project
If you want to add a new translation or update/add a payload, see [CONTRIBUTING](https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md).
@ElijahZAwesome for creating, maintaining and tranferring the repo
# Credits
- [**ElijahZAwesome**](https://github.com/ElijahZAwesome): For creating, maintaining and tranferring the repo.
- [**falquinho**](https://github.com/falquinho): For his Bootstrap layout.
### Translators
- *Italiano* (Italian) - [**Filo97**](https://github.com/Filo97)
- *Português* (Portuguese) - [**falquinho**](https://github.com/falquinho)
- *Deutsch* (German) - [**tumGER**](https://github.com/tumGER)
- *Español* (Spanish) - [**Lord_Friky**](https://github.com/lordfriky)
- *Polski* (Polish) - [**Lorek**](https://github.com/lorek123)
- *简体中文* (Simplified Chinese) - [**Rakau**](https://github.com/Rakau)
- *繁体中文* (Traditional Chinese) - [**Rakau**](https://github.com/Rakau)
- *Русский* (Russian) - [**tumGER**](https://github.com/tumGER)

Binary file not shown.

11
i18n.js
View File

@ -16,10 +16,7 @@ function setPageLanguage(lang) {
else if (lang === "es-MX")
langObj = esMX;
else if (lang === "fr-FR")
langObj = frFR;
else if (lang === "pl-PL")
langObj = plPL;
@ -50,12 +47,14 @@ function setPageLanguage(lang) {
document.getElementById("liPress").innerHTML = langObj.liPress;
document.getElementById("liAPX").innerHTML = langObj.liAPX;
document.getElementById("liLaunch").innerHTML = langObj.liLaunch;
document.getElementById("labelContribute").innerHTML = langObj.labelContribute;
document.getElementById("h1SetupDelivery").innerHTML = langObj.h1SetupDelivery;
document.getElementById("h4SelectPayload").innerHTML = langObj.h4SelectPayload;
document.getElementById("optionAtmosphere").innerHTML = langObj.optionAtmosphere;
document.getElementById("optionSXOS").innerHTML = langObj.optionSXOS;
document.getElementById("optionReiNX").innerHTML = langObj.optionReiNX;
document.getElementById("optionCTCaerHekate").innerHTML = langObj.optionCTCaerHekate;
document.getElementById("optionFusee").innerHTML = langObj.optionFusee;
document.getElementById("optionSXOS").innerHTML = langObj.optionSXOS;
document.getElementById("optionReiNX").innerHTML = langObj.optionReiNX;
document.getElementById("optionUpload").innerHTML = langObj.optionUpload;
document.getElementById("h4GetByteArray").innerHTML = langObj.h4GetByteArray;
document.getElementById("h3Log").innerHTML = langObj.h3Log;

View File

@ -12,19 +12,21 @@ let deDE = {
"liPress" :'Drücken Sie: "Payload senden"',
"liAPX" :'Auf dem Erlaubnisbildschirm müssen Sie "APX" auswählen und zustimmen.',
"liLaunch" :"Falls alles richtig läuft, sollte das Payload gesendet sein!",
"labelContribute" :"If you would like to help adding another translation or updating/adding a payload, check <a href="https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md">this</a>.",
"h1SetupDelivery" :"Konfiguration des Payloadversandes",
"h4SelectPayload" :"Wähle ein Payload:",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.2 (Alle Firmwares)",
"optionAtmosphere" :"Atmosphère 0.8.3",
"optionSXOS" :"SX OS",
"optionReiNX" :"ReiNX 2.0",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.6",
"optionFusee" :"(Re)Switched Test Payload (fusee)",
"optionSXOS" :"SX OS (Alle Firmwares)",
"optionReiNX" :"ReiNX (With SigPatches)",
"optionUpload" :"Eigenes Payload hochladen",
"h3Log" :"Protokoll:",
"h4GetByteArray" :"Erhalte das Payload Byte-Array (nicht senden)",
"goButton" :"Sende das Payload!",
"clearlogsbutton" :"Protokoll leeren",
"disclaimer1" :'Der Quellcode kann hier gefunden werden: <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (oder indem man sich den Quellcode direkt ankuckt, da kein Backend existiert!).',
"disclaimer1" :'Der Quellcode kann hier gefunden werden: <a href="https://github.com/AtlasNX/web-cfw-loader/">GitHub</a> (oder indem man sich den Quellcode direkt ankuckt, da kein Backend existiert!).',
"disclaimer2" :'Portiert von <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Danke an ktemkin und ReSwitched, aber auch <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 und seine Webseite</a>, als einen Startpunkt für dieses Projekt.',
"disclaimer4" :'Zuletzt danke an <a href="https://github.com/falquinho">falquinho</a> für sein Bootstraplayout und Übersetzung in Portugiesisch, <a href="https://github.com/thomleg50">thomleg50</a> für die französische Übersetzung, <a href="https://github.com/Filo97">Filo97</a> für die italienische Übersetzung, <a href="https://github.com/tumGER"> tumGER </a>für seine deutsche Übersetzung, <a href="https://github.com/lordfriky">Lord_Friky</a> für die spanisch Übersetzung und <a href="https://github.com/lorek123">Lorek</a> für die polnische Übersetzung!.'
"disclaimer3" :'Danke an <a href="https://github.com/ktemkin">ktemkin</a> und <a href="https://github.com/reswitched">ReSwitched</a>, aber auch <br><a href="https://github.com/atlas44">Atlas44</a> und <a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">seine Webseite</a>, als einen Startpunkt für dieses Projekt.',
"disclaimer4" :'Zuletzt danke an <a href="https://github.com/falquinho">falquinho</a> für sein Bootstraplayout und Übersetzung in Portugiesisch, <a href="https://github.com/Filo97">Filo97</a> für die italienische Übersetzung, <a href="https://github.com/tumGER"> tumGER </a>für seine deutsche Übersetzung, <a href="https://github.com/lordfriky">Lord_Friky</a> für die spanisch Übersetzung und <a href="https://github.com/lorek123">Lorek</a> für die polnische Übersetzung!.'
}

View File

@ -12,20 +12,21 @@ let enUS = {
"liPress" :"Press 'Deliver Payload!'",
"liAPX" :"On the consent screen that appears, select 'APX' and hit 'Connect'.",
"liLaunch" :"If all goes well, the payload will launch!",
"labelAddPayload":"If you would like to add another payload to this project, use <a href='https://gist.github.com/lorek123/561e4f7b5f61618029cc70672e3d7308'>this converter</a> and do PR",
"labelContribute" :"If you would like to help adding another translation or updating/adding a payload, check <a href="https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md">this</a>.",
"h1SetupDelivery" :"Setup Payload Delivery",
"h4SelectPayload" :"Select Payload:",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.2 (All Firmwares)",
"optionAtmosphere" :"Atmosphère 0.8.3",
"optionSXOS" :"SX OS (All Versions)",
"optionReiNX" :"ReiNX 2.0",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.6",
"optionFusee" :"(Re)Switched test payload (fusee)",
"optionSXOS" :"SX OS (All Firmwares)",
"optionReiNX" :"ReiNX (With SigPatches)",
"optionUpload" :"Upload Payload",
"h3Log" :"Log:",
"h4GetByteArray" :"Get payload byte array (don't sploit)",
"goButton" :"Deliver Payload!",
"clearlogsbutton" :"Clear Logs",
"disclaimer1" :'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!).',
"disclaimer1" :'Source can be found on <a href="https://github.com/AtlasNX/web-cfw-loader">GitHub</a> (or by hitting view source, there is no backend!).',
"disclaimer2" :'Ported from <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'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.',
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, and <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation.'
"disclaimer3" :'Thanks to <a href="https://github.com/ktemkin">ktemkin</a> and <a href="https://github.com/reswitched">ReSwitched</a>, as well as <br><a href="https://github.com/atlas44">Atlas44</a> and <a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">his website</a> as a beginning point for this one.',
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/ElijahZAwesome">ElijahZAwesome</a> for creating, maintaining and tranferring the project, <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german and russian translations, <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation, <a href="https://github.com/lorek123">Lorek</a> for the polish translation and <a href="https://github.com/Rakau">Rakau</a> for the chinese translations.'
}

View File

@ -12,19 +12,21 @@ let esMX = {
"liPress" :"Presiona 'Enviar Payload!'",
"liAPX" :"En la pantalla que aparece, selecciona 'APX' y presiona 'Conectar'.",
"liLaunch" :"Si todo va bien, el payload arrancará!",
"labelContribute" :"Si te gustaría ayudar añadiendo otra traducción o actualizando/añadiendo un payload, revisa <a href="https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md">esto</a>.",
"h1SetupDelivery" :"Configurar Payload a Enviar",
"h4SelectPayload" :"Seleccionar Payload:",
"optionCTCaerHekate" :"Mod de Hekate de CTCaer v4.2 (Todos los Firmwares)",
"optionAtmosphere" :"Atmosphère 0.8.3",
"optionSXOS" :"SX OS (Todas las Versiones)",
"optionReiNX" :"ReiNX 2.0",
"optionCTCaerHekate" :"Mod de Hekate de CTCaer v4.6",
"optionFusee" :"Payload de prueba de (Re)Switched (fusee)",
"optionSXOS" :"SX OS (Todos los Firmwares)",
"optionReiNX" :"ReiNX (Con Parche de Firmas)",
"optionUpload" :"Subir Payload",
"h3Log" :"Registro:",
"h4GetByteArray" :"Obtener matriz de bytes del payload (sin exploit)",
"goButton" :"Enviar Payload!",
"clearlogsbutton" :"Borrar registro",
"disclaimer1" :'El código fuente puede ser encontrado en <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (o presionando ver código fuente, no hay backend!).',
"disclaimer1" :'El código fuente puede ser encontrado en <a href="https://github.com/AtlasNX/web-cfw-loader/">GitHub</a> (o presionando ver código fuente, no hay backend!).',
"disclaimer2" :'Portado de <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Gracias a ktemkin y ReSwitched, tanto como <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 y su sitio web</a> como punto de partida para este.',
"disclaimer4" :'Finalmente, gracias a <a href="https://github.com/falquinho">falquinho</a> por el nuevo diseño y la traducción en portugués, <a href="https://github.com/thomleg50">thomleg50</a> por la traducción en francés, <a href="https://github.com/Filo97">Filo97</a> por la traducción en italiano, <a href="https://github.com/tumGER">tumGER</a> por la traducción en alemán, <a href="https://github.com/lordfriky">Lord_Friky</a> por la traducción en español y <a href="https://github.com/lorek123">Lorek</a> por la traducción en polaco.'
"disclaimer3" :'Gracias a <a href="https://github.com/ktemkin">ktemkin</a> y <a href="https://github.com/reswitched">ReSwitched</a>, tanto como a <br><a href="https://github.com/atlas44">Atlas44</a> y <a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">su sitio web</a> como punto de partida para este.',
"disclaimer4" :'Finalmente, gracias a <a href="https://github.com/ElijahZAwesome">ElijahZAwesome</a> por crear, mantener y tranferir este proyecto, <a href="https://github.com/falquinho">falquinho</a> por el nuevo diseño y la traducción en portugués, <a href="https://github.com/Filo97">Filo97</a> por la traducción en italiano, <a href="https://github.com/tumGER">tumGER</a> por la traducción en alemán, <a href="https://github.com/lordfriky">Lord_Friky</a> por la traducción en español y <a href="https://github.com/lorek123">Lorek</a> por la traducción en polaco.'
}

View File

@ -12,19 +12,21 @@ let itIT = {
"liPress" :"Pemi 'Avvia payload!'",
"liAPX" :"Nello schermo di conferma, scegli 'APX' ae premi conferma.",
"liLaunch" :"Se tutto funziona il payload si avvierà!",
"labelContribute" :"If you would like to help adding another translation or updating/adding a payload, check <a href="https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md">this</a>.",
"h1SetupDelivery" :"Setup Payload Delivery",
"h4SelectPayload" :"Select Payload:",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.2 (All Firmwares)",
"optionAtmosphere" :"Atmosphère 0.8.3",
"optionSXOS" :"SX OS",
"optionReiNX" :"ReiNX 2.0",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.6",
"optionFusee" :"(Re)Switched payload di test (fusee)",
"optionSXOS" :"SX OS (All Firmwares)",
"optionReiNX" :"ReiNX (With SigPatches)",
"optionUpload" :"Carica payload",
"h3Log" :"Log:",
"h4GetByteArray" :"Ottieni byte array del payload (no exploit)",
"goButton" :"Avvia Payload!",
"clearlogsbutton" :"Pulisci Logs",
"disclaimer1" :'Il source puo essere trovato a <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (o premendo guarda source, ma non c\'è backend!).',
"disclaimer1" :'Il source puo essere trovato a <a href="https://github.com/AtlasNX/web-cfw-loader/">GitHub</a> (o premendo guarda source, ma non c\'è backend!).',
"disclaimer2" :'Portato da <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Grazie tante a ktemkin e ReSwitched, e non dimentichiamoci <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 e il suo sito</a> come punto di inizio per questo.',
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/thomleg50">thomleg50</a> for the french translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation, and <a href="https://github.com/lorek123">Lorek</a> for the polish translation.'
"disclaimer3" :'Grazie tante a <a href="https://github.com/ktemkin">ktemkin</a> e <a href="https://github.com/reswitched">ReSwitched</a>, e non dimentichiamoci <br><a href="https://github.com/atlas44">Atlas44</a> e il <a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">suo sito</a> come punto di inizio per questo.',
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation, and <a href="https://github.com/lorek123">Lorek</a> for the polish translation.'
}

View File

@ -13,20 +13,22 @@ let plPL = {
"liPress" :"Wybierz 'Dostarcz Payload!'",
"liAPX" :"Następnie wybierz 'APX' i 'Połącz'.",
"liLaunch" :"Jeżeli się udało, to payload zostanie uruchomiony!",
"labelContribute" :"If you would like to help adding another translation or updating/adding a payload, check <a href="https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md">this</a>.",
"labelAddPayload" :'Jeżeli chciałbyś dodać swój payload do projektu to możesz skorzystać z <a href="https://gist.github.com/lorek123/561e4f7b5f61618029cc70672e3d7308">tego konwertera</a> i wysłać PR.',
"h1SetupDelivery" :"Wybierz konfigurację payloadu",
"h4SelectPayload" :"Wybierz Payload",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.2 (All Firmwares)",
"optionAtmosphere" :"Atmosphère 0.8.3",
"optionSXOS" :"SX OS",
"optionReiNX" :"ReiNX 2.0",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.6",
"optionFusee" :"(Re)Switched testowy payload (fusee)",
"optionSXOS" :"SX OS (All Firmwares)",
"optionReiNX" :"ReiNX (With SigPatches)",
"optionUpload" :"Załaduj payload",
"h3Log" :"Log:",
"h4GetByteArray" :"Uzyskaj ciąg bajtów payloadu (nie uruchamiaj)",
"goButton" :"Dostarcz payload",
"clearlogsbutton" :"Wyczyść logi",
"disclaimer1" :'Źródła możesz znaleźć na <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (Albo przeglądając źródła strony, Aplikacja nie wykorzystuje backendu!).',
"disclaimer1" :'Źródła możesz znaleźć na <a href="https://github.com/AtlasNX/web-cfw-loader/">GitHub</a> (Albo przeglądając źródła strony, Aplikacja nie wykorzystuje backendu!).',
"disclaimer2" :'Przeportowano <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Podziękowania należą się ktemkin i ReSwitched, oraz <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 i jego stronie</a> jako punkt startu dla tej aplikacji',
"disclaimer4" :'Na końću, podziękowania należą się <a href="https://github.com/falquinho">falquinho</a> Dla nowego układu strony w bootstrapie i portugalskiego tłumaczenia, <a href="https://github.com/thomleg50">thomleg50</a> za francuski tłumaczenie, <a href="https://github.com/Filo97">Filo97</a> za włoskie tłumaczenie, <a href="https://github.com/tumGER">tumGER</a> za niemieckie tłumaczenie, <a href="https://github.com/lordfriky">Lord_Friky</a> za hiszpańskie tłumaczenie i dla <a href="https://github.com/lorek123">Lorek</a> za polskie tłumaczenie.'
"disclaimer3" :'Podziękowania należą się <a href="https://github.com/ktemkin">ktemkin</a> i <a href="https://github.com/reswitched">ReSwitched</a>, oraz <br><a href="https://github.com/atlas44">Atlas44</a> i <a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">jego stronie</a> jako punkt startu dla tej aplikacji',
"disclaimer4" :'Na końću, podziękowania należą się <a href="https://github.com/falquinho">falquinho</a> Dla nowego układu strony w bootstrapie i portugalskiego tłumaczenia, <a href="https://github.com/Filo97">Filo97</a> za włoskie tłumaczenie, <a href="https://github.com/tumGER">tumGER</a> za niemieckie tłumaczenie, <a href="https://github.com/lordfriky">Lord_Friky</a> za hiszpańskie tłumaczenie i dla <a href="https://github.com/lorek123">Lorek</a> za polskie tłumaczenie.'
}

View File

@ -12,19 +12,21 @@ let ptBR = {
"liPress" :"Clique em 'Enviar Payload'!",
"liAPX" :"No diálogo de confirmação escolha 'APX' e clique em 'Conectar-se'",
"liLaunch" :"Se tudo der certo, o payload executará!",
"labelContribute" :"If you would like to help adding another translation or updating/adding a payload, check <a href="https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md">this</a>.",
"h1SetupDelivery" :"Configurar Entrega de Payload",
"h4SelectPayload" :"Payload:",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.2 (All Firmwares)",
"optionAtmosphere" :"Atmosphère 0.8.3",
"optionSXOS" :"SX OS",
"optionReiNX" :"ReiNX 2.0",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.6",
"optionFusee" :"Payload de teste (Re)Switched (fusee)",
"optionSXOS" :"SX OS (All Firmwares)",
"optionReiNX" :"ReiNX (With SigPatches)",
"optionUpload" :"Carregar Payload",
"h3Log" :"Log:",
"h4GetByteArray" :"Recuperar array de bytes do payload (favor não exploitar)",
"goButton" :"Enviar Payload!",
"clearlogsbutton" :"Limpar Logs",
"disclaimer1" :'Código fonte disponível em <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (ou simplesmente clicando "ver código", não há backend).',
"disclaimer1" :'Código fonte disponível em <a href="https://github.com/AtlasNX/web-cfw-loader/">GitHub</a> (ou simplesmente clicando "ver código", não há backend).',
"disclaimer2" :'Um port do <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Muito obrigado a Ktemkin e time (Re)Switched, bem como <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 e seu website</a> que é a base deste.',
"disclaimer4" :'Por último, obrigado <a href="https://github.com/falquinho">falquinho</a> pelo novo layout Bootstrap e tradução para português, <a href="https://github.com/thomleg50">thomleg50</a> pela tradução para francês, <a href="https://github.com/Filo97">Filo97</a> pela tradução para italiano, <a href="https://github.com/tumGER">tumGER</a> pela tradução para alemão, <a href="https://github.com/lordfriky">Lord_Friky</a> pela tradução para espanhol, e <a href="https://github.com/lorek123">Lorek</a> pela tradução para polonês.'
"disclaimer3" :'Muito obrigado a <a href="https://github.com/ktemkin">ktemkin</a> e time <a href="https://github.com/reswitched">ReSwitched</a>, bem como <br><a href="https://github.com/atlas44">Atlas44</a> e <a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">seu website</a> que é a base deste.',
"disclaimer4" :'Por último, obrigado <a href="https://github.com/falquinho">falquinho</a> pelo novo layout Bootstrap e tradução para português, <a href="https://github.com/Filo97">Filo97</a> pela tradução para italiano, <a href="https://github.com/tumGER">tumGER</a> pela tradução para alemão, <a href="https://github.com/lordfriky">Lord_Friky</a> pela tradução para espanhol, e <a href="https://github.com/lorek123">Lorek</a> pela tradução para polonês.'
}

View File

@ -12,19 +12,21 @@ let ruRU = {
"liPress" :"Нажмите 'Отправить пейлоад!'",
"liAPX" :"В появившемся окне выберите 'APX' и нажмите 'Подключение'.",
"liLaunch" :"Если всё идёт по плану, пейлоад запустится на приставке!",
"labelContribute" :"If you would like to help adding another translation or updating/adding a payload, check <a href="https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md">this</a>.",
"h1SetupDelivery" :"Настройки отправки пейлоада",
"h4SelectPayload" :"Выберите пейлоад:",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.2 (All Firmwares)",
"optionAtmosphere" :"Atmosphère 0.8.3",
"optionSXOS" :"SX OS",
"optionReiNX" :"ReiNX 2.0",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.6",
"optionFusee" :"Тестовый пейлоад от (Re)Switched",
"optionSXOS" :"SX OS (All Firmwares)",
"optionReiNX" :"ReiNX (With SigPatches)",
"optionUpload" :"Загрузить свой пейлоад",
"h3Log" :"Log:",
"h4GetByteArray" :"Получить побайтовый вывод листинга пейлоада в лог (без отправки на консоль)",
"goButton" :"Отправить пейлоад!",
"clearlogsbutton" :"Очистить лог",
"disclaimer1" :'Исходники можно найти на <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (либо просто нажмите "посмотреть код страницы", бекенда тут нет!).',
"disclaimer1" :'Исходники можно найти на <a href="https://github.com/AtlasNX/web-cfw-loader/">GitHub</a> (либо просто нажмите "посмотреть код страницы", бекенда тут нет!).',
"disclaimer2" :'Портировано от <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Спасибо ktemkin и ReSwitched, а так же <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 и его вебсайту</a> за то, что положил проекту начало.',
"disclaimer4" :'Наконец, спасибо <a href="https://github.com/falquinho">falquinho</a> за макет начальной загрузки и перевод на португальский, <a href="https://github.com/Filo97">Filo97</a> за перевод на итальянский, <a href="https://github.com/tumGER">tumGER</a> за перевод на немецкий, и <a href="https://github.com/lordfriky">Lord_Friky</a> за перевод на испанский.'
"disclaimer3" :'Спасибо <a href="https://github.com/ktemkin">ktemkin</a> и <a href="https://github.com/reswitched">ReSwitched</a>, а так же <br><a href="https://github.com/atlas44">Atlas44</a> и <a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">его вебсайту</a> за то, что положил проекту начало.',
"disclaimer4" :'Наконец, спасибо <a href="https://github.com/falquinho">falquinho</a> за макет начальной загрузки и перевод на португальский, <a href="https://github.com/Filo97">Filo97</a> за перевод на итальянский, и <a href="https://github.com/lordfriky">Lord_Friky</a> за перевод на испанский.'
}

View File

@ -12,18 +12,20 @@ let zhCN = {
"liPress" :"点击 '传递 Payload!'",
"liAPX" :"在出现的对话框里选择“APX”并点击“Connect”(Android系统可能会自动加载)",
"liLaunch" :"如果一切顺利Payload将成功加载!",
"labelContribute" :"If you would like to help adding another translation or updating/adding a payload, check <a href="https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md">this</a>.",
"h1SetupDelivery" :"部署 Payload",
"h4SelectPayload" :"选择 Payload:",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.2 (全版本)",
"optionAtmosphere" :"Atmosphère 0.8.3",
"optionSXOS" :"SX OS",
"optionReiNX" :"ReiNX 2.0",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.6",
"optionFusee" :"(Re)Switched test payload (fusee)",
"optionSXOS" :"SX OS (全版本)",
"optionReiNX" :"ReiNX (With SigPatches)",
"optionUpload" :"上传 Payload",
"h4GetByteArray" :"获取Payload byte array (无Sploit)",
"goButton" :"传递 Payload!",
"clearlogsbutton" :"清除日志",
"disclaimer1" :'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!).',
"disclaimer1" :'Source can be found on <a href="https://github.com/AtlasNX/web-cfw-loader/">GitHub</a> (or by hitting view source, there is no backend!).',
"disclaimer2" :'Ported from <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'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.',
"disclaimer3" :'Thanks to <a href="https://github.com/ktemkin">ktemkin</a> and <a href="https://github.com/reswitched">ReSwitched</a>, as well as <br><a href="https://github.com/atlas44">Atlas44</a> and <a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">his website</a> as a beginning point for this one.',
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, and <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation.'
}

View File

@ -12,18 +12,20 @@ let zhTW = {
"liPress" :"點擊 '傳遞 Payload!'",
"liAPX" :"在出現的對話框裏選擇“APX”並點擊“Connect”(Android系統可能會自動加載)",
"liLaunch" :"如果壹切順利Payload將成功加載!",
"labelContribute" :"If you would like to help adding another translation or updating/adding a payload, check <a href="https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md">this</a>.",
"h1SetupDelivery" :"部署 Payload",
"h4SelectPayload" :"選擇 Payload:",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.2 (全版本)",
"optionAtmosphere" :"Atmosphère 0.8.3",
"optionSXOS" :"SX OS",
"optionReiNX" :"ReiNX 2.0",
"optionCTCaerHekate" :"CTCaer's Hekate Mod v4.6",
"optionFusee" :"(Re)Switched test payload (fusee)",
"optionSXOS" :"SX OS (全版本)",
"optionReiNX" :"ReiNX (With SigPatches)",
"optionUpload" :"上傳Payload",
"h4GetByteArray" :"獲取Payload byte array (無Sploit)",
"goButton" :"傳遞Payload!",
"clearlogsbutton" :"清除日誌",
"disclaimer1" :'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!).',
"disclaimer1" :'Source can be found on <a href="https://github.com/AtlasNX/web-cfw-loader/">GitHub</a> (or by hitting view source, there is no backend!).',
"disclaimer2" :'Ported from <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'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.',
"disclaimer3" :'Thanks to <a href="https://github.com/ktemkin">ktemkin</a> and <a href="https://github.com/reswitched">ReSwitched</a>, as well as <a href="https://github.com/atlas44">Atlas44</a> and <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">his website</a> as a beginning point for this one.',
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, and <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation.'
}

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.3.2</title>
<title>Switch Payload Loader v1.4</title>
<script src="./i18n/en-US.js"></script>
<script src="./i18n/it-IT.js"></script>
@ -92,7 +92,7 @@
</ul>
</div>
<div class="alert alert-info" role="alert">
<p id="labelAddPayload">If you would like to add another payload to this project, use <a href="https://gist.github.com/lorek123/561e4f7b5f61618029cc70672e3d7308">this converter</a> and do PR</p>
<p id="labelContribute">If you would like to help adding another translation or updating/adding a payload, check <a href="https://github.com/AtlasNX/web-cfw-loader/blob/master/CONTRIBUTING.md">this</a>.</p>
</div>
</div>
</div>
@ -109,11 +109,11 @@
<div class="col-xs-6">
<select class="pull-right" id="payloadSelect" onchange="onSelectChange()">
<option value="CTCaer_Hekate" id="optionCTCaerHekate" >CTCaer's Hekate Mod v4.6 (All Firmwares)</option>
<option value="fusee" id="optionFusee" >(Re)Switched test payload (fusee)</option>
<option value="sx os" id="optionSXOS" >SX OS 2.0.2 (All Firmwares)</option>
<option value="atmosphere" id="optionAtmosphere" >Atmosphère 0.8.3</option>
<option value="sx os" id="optionSXOS" >SX OS (All Versions)</option>
<option value="ReiNX" id="optionReiNX" >ReiNX 2.0</option>
<option value="briccmii" id="briccmii" >briccmii</option>
<option value="CTCaer_Hekate" id="optionCTCaerHekate" >CTCaer's Hekate Mod v4.6</option>
<option value="fusee" id="optionFusee" >(Re)Switched test payload (fusee)</option>
<option value="uploaded" id="optionUpload" >Upload payload</option>
</select>
</div>
@ -156,17 +156,21 @@
</div>
<script src="./payloads.js"></script>
<script src="./payloads/hekate.js"></script>
<script src="./payloads/fusee.js"></script>
<script src="./payloads/sxos.js"></script>
<script src="./payloads/reinx.js"></script>
<script src="./payloads/fusee-primary.js"></script>
<script src="./main.js"></script>
</body>
<div class="row margin-top-md" id="page-footer">
<div class="col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3">
<div id="disclaimer">
<p id="disclaimer1">Source can be found on <a href="https://github.com/atlasnx/web-cfw-loader/">GitHub</a> (or by hitting view source, there is no backend!).</p>
<p id="disclaimer1">Source can be found on <a href="https://github.com/AtlasNX/web-cfw-loader">GitHub</a> (or by hitting view source, there is no backend!).</p>
<p id="disclaimer2">Ported from <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.</p>
<p id="disclaimer3">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 id="disclaimer4">Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation, <a href="https://github.com/lorek123">Lorek</a> for the polish translation, <a href="https://github.com/Rakau">Rakau</a> for the chinese translations.
<p id="disclaimer3">Thanks to <a href="https://github.com/ktemkin">ktemkin</a> and <a href="https://github.com/reswitched">ReSwitched</a>, as well as <br><a href="https://github.com/atlas44">Atlas44</a> and <a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">his website</a> as a beginning point for this one.</p>
<p id="disclaimer4">Lastly, thanks to <a href="https://github.com/ElijahZAwesome">ElijahZAwesome</a> for creating this project, <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german and russian translations, <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation, <a href="https://github.com/lorek123">Lorek</a> for the polish translation and <a href="https://github.com/Rakau">Rakau</a> for the chinese translations.</p>
</div>
</div>
</div>

View File

@ -158,8 +158,8 @@ document.getElementById("goButton").addEventListener("click", async () => {
} else if (payloadType === "ReiNX") {
payload = ReiNX;
} else if (payloadType === "briccmii") {
payload = briccmii;
} else if (payloadType === "atmosphere") {
payload = fusee_ams;
} else if (payloadType === "uploaded") {
const file = document.getElementById("payloadUpload").files[0];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
payloads/sxos.js 100644

File diff suppressed because one or more lines are too long