mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-26 05:30:19 +00:00
More small string changes for the signature patches installer
This commit is contained in:
parent
351ae47276
commit
75fac5f1c9
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ namespace sig {
|
||||||
try {
|
try {
|
||||||
std::string patchesVersion = inst::util::readTextFromFile("sdmc:/atmosphere/exefs_patches/es_patches/patches.txt");
|
std::string patchesVersion = inst::util::readTextFromFile("sdmc:/atmosphere/exefs_patches/es_patches/patches.txt");
|
||||||
std::string versionText = "";
|
std::string versionText = "";
|
||||||
if (patchesVersion != "") versionText = "\nYou currently have signature patches installed for HOS version " + patchesVersion;
|
if (patchesVersion != "") versionText = "\n\nYou currently have signature patches installed for HOS version " + patchesVersion + ".";
|
||||||
int ourResult = inst::ui::mainApp->CreateShowDialog("Install signature patches?", "Signature patches are required for installing and playing NSP contents." + versionText, {"Install", "Uninstall", "Cancel"}, true);
|
int ourResult = inst::ui::mainApp->CreateShowDialog("Install signature patches?", "Signature patches are required for installing and playing NSP contents." + versionText, {"Install", "Uninstall", "Cancel"}, true);
|
||||||
if (ourResult == 0) {
|
if (ourResult == 0) {
|
||||||
if (!inst::util::copyFile("sdmc:/bootloader/patches.ini", inst::config::appDir + "/patches.ini.old")) {
|
if (!inst::util::copyFile("sdmc:/bootloader/patches.ini", inst::config::appDir + "/patches.ini.old")) {
|
||||||
|
@ -32,7 +32,7 @@ namespace sig {
|
||||||
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 HOS version " + patchesVersion + "! ";
|
||||||
inst::ui::mainApp->CreateShowDialog("Install complete!", versionText + "Restart your console to apply!", {"OK"}, true);
|
inst::ui::mainApp->CreateShowDialog("Install complete!", versionText + "\n\nRestart your console to apply!", {"OK"}, true);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
inst::ui::mainApp->CreateShowDialog("Could not extract files!", "", {"OK"}, true);
|
inst::ui::mainApp->CreateShowDialog("Could not extract files!", "", {"OK"}, true);
|
||||||
|
|
Loading…
Reference in a new issue