Up version, add icon.jpg, fix small string problems
This commit is contained in:
parent
89c68ad0a9
commit
6909583c72
2
Makefile
2
Makefile
@ -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
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
@ -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")) {
|
||||||
@ -31,8 +31,8 @@ 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 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);
|
||||||
|
Reference in New Issue
Block a user