Up version, add icon.jpg, fix small string problems

This commit is contained in:
Huntereb 2019-10-29 22:19:05 -04:00
parent 89c68ad0a9
commit 6909583c72
3 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ DATA := data
INCLUDES := include include/ui include/data include/install include/nx include/nx/ipc include/util include/Plutonium/Plutonium/Output-switch/include INCLUDES := include include/ui include/data include/install include/nx include/nx/ipc include/util include/Plutonium/Plutonium/Output-switch/include
APP_TITLE := Awoo Installer APP_TITLE := Awoo Installer
APP_AUTHOR := Huntereb APP_AUTHOR := Huntereb
APP_VERSION := 0.0.1 APP_VERSION := 1.0.0
ROMFS := romfs ROMFS := romfs
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------

BIN
icon.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -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 = "You currently have signature patches installed for HOS version " + patchesVersion; if (patchesVersion != "") versionText = "\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 + "Restart 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);