Summary (required)
This commit is contained in:
parent
ab97644891
commit
adf3ade489
@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<script src="https://rawcdn.githack.com/Stuk/jszip/master/dist/jszip.js"></script>
|
<script src="https://rawcdn.githack.com/Stuk/jszip/master/dist/jszip.js"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js"></script>
|
||||||
<script src="loader.js"></script>
|
<script src="loader.js"></script>
|
||||||
|
@ -63,6 +63,13 @@ function init_honoka(file, android, newDomain) {
|
|||||||
let finalized = await zip.generateAsync({type: "uint8array"});
|
let finalized = await zip.generateAsync({type: "uint8array"});
|
||||||
update_status("Finalizing");
|
update_status("Finalizing");
|
||||||
const downloadUrl = URL.createObjectURL(new Blob([finalized], {type: type}));
|
const downloadUrl = URL.createObjectURL(new Blob([finalized], {type: type}));
|
||||||
|
const b = document.createElement("a");
|
||||||
|
b.href = URL.createObjectURL(new Blob([new_server_info], {type: "application/json"}))
|
||||||
|
b.innerText = "Download patched server_info.json";
|
||||||
|
b.download = "server_info.json";
|
||||||
|
document.body.appendChild(b);
|
||||||
|
|
||||||
|
|
||||||
const a = document.createElement("a");
|
const a = document.createElement("a");
|
||||||
a.href = downloadUrl;
|
a.href = downloadUrl;
|
||||||
a.innerText = "Download";
|
a.innerText = "Download";
|
||||||
@ -71,7 +78,7 @@ function init_honoka(file, android, newDomain) {
|
|||||||
update_status("Done!");
|
update_status("Done!");
|
||||||
if (android) {
|
if (android) {
|
||||||
const p = document.createElement("p");
|
const p = document.createElement("p");
|
||||||
p.innerHTML = "Package is not signed. It will not install. Sign it with the command `apksigner sign -ks sifkey.keystore lovelive.apk`. Make sure to download <a href=\"https://codeberg.org/arina999999997/nozomi/raw/branch/master/sifkey.keystore\">this keystore</a>.";
|
p.innerHTML = "Package is not signed. Using <a href=\"https://github.com/patrickfav/uber-apk-signer/releases\">uber-apk-signer</a>, sign it with the command `java -jar uber-apk-signer-<version>.jar lovelive.apk`.";
|
||||||
document.body.appendChild(p);
|
document.body.appendChild(p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user