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
APP_TITLE := Awoo Installer
APP_AUTHOR := Huntereb
APP_VERSION := 0.0.1
APP_VERSION := 1.0.0
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 {
std::string patchesVersion = inst::util::readTextFromFile("sdmc:/atmosphere/exefs_patches/es_patches/patches.txt");
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);
if (ourResult == 0) {
if (!inst::util::copyFile("sdmc:/bootloader/patches.ini", inst::config::appDir + "/patches.ini.old")) {
@ -31,8 +31,8 @@ namespace sig {
if (didExtract) {
patchesVersion = inst::util::readTextFromFile("sdmc:/atmosphere/exefs_patches/es_patches/patches.txt");
versionText = "";
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);
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);
}
else {
inst::ui::mainApp->CreateShowDialog("Could not extract files!", "", {"OK"}, true);