mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-12-28 02:16:03 +00:00
bug fixes here and there
This commit is contained in:
parent
abc7468f01
commit
d38fd1592c
8 changed files with 20 additions and 7 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -12,4 +12,6 @@ resources/i18n/en-GB
|
|||
resources/icon
|
||||
resources/material
|
||||
resources/inter
|
||||
resources/.gitignore
|
||||
resources/.gitignore
|
||||
rcm/output/
|
||||
rcm/build/
|
2
Makefile
2
Makefile
|
@ -45,7 +45,7 @@ DATA := data
|
|||
INCLUDES := include lib/zipper/include
|
||||
APP_TITLE := All-in-One Switch Updater
|
||||
APP_AUTHOR := HamletDuFromage
|
||||
APP_VERSION := 1.3.0
|
||||
APP_VERSION := 1.3.1
|
||||
TARGET := $(notdir $(CURDIR))-v$(APP_VERSION)
|
||||
|
||||
ROMFS := resources
|
||||
|
|
|
@ -416,8 +416,12 @@ void ipl_main()
|
|||
}
|
||||
}
|
||||
|
||||
launch_payload("bootloader/update.bin", false);
|
||||
launch_payload("atmosphere/rebbot_payload.bin", false);
|
||||
if (f_stat("bootloader/update.bin", NULL) == FR_OK)
|
||||
launch_payload("bootloader/update.bin", false);
|
||||
|
||||
if (f_stat("atmosphere/reboot_payload.bin", NULL) == FR_OK)
|
||||
launch_payload("atmosphere/reboot_payload.bin", false);
|
||||
|
||||
EPRINTF("Failed to launch payload.");
|
||||
|
||||
// Halt BPMP if we managed to get out of execution.
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -44,6 +44,8 @@
|
|||
"v1_2_6_text": "\uE016 Added spanish translation (thanks to 'https://github.com/sergiou87'",
|
||||
"v1_3_0": "v1.3.0",
|
||||
"v1_3_0_text": "\uE016 Added back the ability to update CFWs",
|
||||
"v1_3_1": "v1.3.1",
|
||||
"v1_3_1_text": "\uE016 Small fixes for bugs causing hangs.",
|
||||
"Ok_button": "Ok",
|
||||
|
||||
"cheats_page.cpp":"",
|
||||
|
|
|
@ -10,7 +10,6 @@ AmsTab::AmsTab() :
|
|||
std::string operation = "menus/Getting"_i18n ;
|
||||
this->description = new brls::Label(brls::LabelStyle::DESCRIPTION, "", true);
|
||||
links = fetchLinks(AMS_URL);
|
||||
auto hekate_link = fetchLinks(HEKATE_URL);
|
||||
operation += "menus/list_cfw"_i18n ;
|
||||
this->description->setText(
|
||||
"menus/list_ams"_i18n
|
||||
|
@ -18,11 +17,14 @@ AmsTab::AmsTab() :
|
|||
|
||||
this->addView(description);
|
||||
|
||||
std::string hekate_url = std::get<1>(hekate_link)[0];
|
||||
std::string text_hekate = "menus/list_down"_i18n + std::get<0>(hekate_link)[0];
|
||||
|
||||
|
||||
int nbLinks = std::get<0>(links).size();
|
||||
if(nbLinks){
|
||||
auto hekate_link = fetchLinks(HEKATE_URL);
|
||||
std::string hekate_url = std::get<1>(hekate_link)[0];
|
||||
std::string text_hekate = "menus/list_down"_i18n + std::get<0>(hekate_link)[0];
|
||||
|
||||
linkItems.reserve(nbLinks);
|
||||
for (int i = 0; i<nbLinks; i++){
|
||||
std::string url = std::get<1>(links)[i];
|
||||
|
|
|
@ -52,6 +52,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
|
|||
verTitles.push_back("menus/v1_3_0"_i18n );
|
||||
changes.push_back("menus/v1_3_0_text"_i18n );
|
||||
|
||||
verTitles.push_back("menus/v1_3_1"_i18n );
|
||||
changes.push_back("menus/v1_3_1_text"_i18n );
|
||||
|
||||
int nbVersions = verTitles.size();
|
||||
items.reserve(nbVersions);
|
||||
for(int i = nbVersions -1 ; i >= 0; i--){
|
||||
|
|
Loading…
Reference in a new issue