Split Seedminer system update to KOR and TWN specific pages

This commit is contained in:
lifehackerhansol 2023-05-24 19:24:57 -07:00
parent 3c089e10d6
commit 5d63f96b21
No known key found for this signature in database
GPG key ID: 80FB184AFC0B3B0E
3 changed files with 30 additions and 5 deletions

View file

@ -1,5 +1,5 @@
---
title: "Updating Firmware (KOR/TWN)"
title: "Updating Firmware (KOR)"
---
### Required Reading

View file

@ -0,0 +1,18 @@
---
title: "Updating Firmware (TWN)"
---
### Required Reading
To use the Seedminer exploit, you must update your device to the latest system version.
### What you need
* An internet connection on your device
#### Section I - Updating the System
{% include_relative include/sysupdate.txt cfw="false" %}
Continue to [Seedminer (TWN)](seedminer-(twn))
{: .notice--primary}

View file

@ -144,7 +144,8 @@ function can_miimine(major, minor, native, region, model) {
// Seedminer, U/E/J/K region
// only 11.16 can run Seedminer
function can_seedminer(major, minor, native, region, model) {
let do_redirect_sysupdate = false;
let do_redirect_sysupdate_twn = false;
let do_redirect_sysupdate_kor = false;
let do_redirect_twn = false;
let do_redirect = false;
// 11.16 should always do seedminer on 3DS
@ -153,10 +154,16 @@ function can_seedminer(major, minor, native, region, model) {
else if (region == "T") do_redirect_twn = true;
}
// KOR O3DS on any version should update to 11.16
else if (model == 0 && region == "K") do_redirect_sysupdate = true;
else if (model == 0 && region == "K") do_redirect_sysupdate_kor = true;
// KOR O3DS on any version should update to 11.16
else if (region == "T") do_redirect_sysupdate_twn = true;
if (do_redirect_sysupdate) {
window.location.href = "updating-firmware-(kor-twn)";
if (do_redirect_sysupdate_twn) {
window.location.href = "updating-firmware-(twn)";
return true;
}
if (do_redirect_sysupdate_kor) {
window.location.href = "updating-firmware-(kor)";
return true;
}
else if (do_redirect_twn) {