mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-12-11 20:52:28 +00:00
Make it obvious that signature patches work on older HOS versions
This commit is contained in:
parent
11491fb61e
commit
86f2d685d5
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ namespace sig {
|
||||||
std::string versionText = "";
|
std::string versionText = "";
|
||||||
std::string installButtonText = "Install";
|
std::string installButtonText = "Install";
|
||||||
if (patchesVersion != "") {
|
if (patchesVersion != "") {
|
||||||
versionText = "\n\nYou currently have signature patches installed for HOS version " + patchesVersion + ".";
|
versionText = "\n\nYou currently have signature patches installed for up to HOS version " + patchesVersion + ".";
|
||||||
installButtonText = "Update";
|
installButtonText = "Update";
|
||||||
}
|
}
|
||||||
int ourResult = inst::ui::mainApp->CreateShowDialog("Install signature patches?", "Signature patches are required for installing and playing NSP contents." + versionText, {installButtonText, "Uninstall", "Cancel"}, true);
|
int ourResult = inst::ui::mainApp->CreateShowDialog("Install signature patches?", "Signature patches are required for installing and playing NSP contents." + versionText, {installButtonText, "Uninstall", "Cancel"}, true);
|
||||||
|
@ -37,7 +37,7 @@ namespace sig {
|
||||||
if (didExtract) {
|
if (didExtract) {
|
||||||
patchesVersion = inst::util::readTextFromFile("sdmc:/atmosphere/exefs_patches/es_patches/patches.txt");
|
patchesVersion = inst::util::readTextFromFile("sdmc:/atmosphere/exefs_patches/es_patches/patches.txt");
|
||||||
versionText = "";
|
versionText = "";
|
||||||
if (patchesVersion != "") versionText = "Your signature patches have been updated for HOS version " + patchesVersion + "! ";
|
if (patchesVersion != "") versionText = "Your signature patches have been updated for up to HOS version " + patchesVersion + "! ";
|
||||||
if (inst::ui::mainApp->CreateShowDialog("Install complete!", versionText + "\n\nRestart your console to apply!", {"Restart", "I'll do it later"}, false) == 0) bpcRebootSystem();
|
if (inst::ui::mainApp->CreateShowDialog("Install complete!", versionText + "\n\nRestart your console to apply!", {"Restart", "I'll do it later"}, false) == 0) bpcRebootSystem();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue