mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-12-29 10:56:01 +00:00
Fixed switch not rebooting to hekate payload after updating Hekate
This commit is contained in:
parent
baa3639cb5
commit
dd9f7810cc
4 changed files with 12 additions and 3 deletions
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.4.2
|
||||
APP_VERSION := 1.4.3
|
||||
TARGET := $(notdir $(CURDIR))-v$(APP_VERSION)
|
||||
|
||||
ROMFS := resources
|
||||
|
|
|
@ -53,7 +53,9 @@
|
|||
"v1_4_1": "v1.4.1",
|
||||
"v1_4_1_text": "\uE016 Fixed misleading display in internet settings page.",
|
||||
"v1_4_2": "v1.4.2",
|
||||
"v1_4_2_text": "\uE016 (hopefully) fixed unreliable copy of payloads",
|
||||
"v1_4_2_text": "\uE016 (hopefully) fixed unreliable copy of payloads.",
|
||||
"v1_4_3": "v1.4.3",
|
||||
"v1_4_3_text": "\uE016 Fixed switch not rebooting to hekate payload after updating.",
|
||||
"Ok_button": "Ok",
|
||||
|
||||
"cheats_page.cpp":"",
|
||||
|
|
|
@ -67,6 +67,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
|
|||
verTitles.push_back("menus/v1_4_2"_i18n );
|
||||
changes.push_back("menus/v1_4_2_text"_i18n );
|
||||
|
||||
verTitles.push_back("menus/v1_4_3"_i18n );
|
||||
changes.push_back("menus/v1_4_3_text"_i18n );
|
||||
|
||||
int nbVersions = verTitles.size();
|
||||
items.reserve(nbVersions);
|
||||
for(int i = nbVersions -1 ; i >= 0; i--){
|
||||
|
|
|
@ -42,8 +42,12 @@ void extract(const char * filename, const char* workingPath, int overwriteInis){
|
|||
unzipper.extractEntry(entries[i].name, CONFIG_PATH_UNZIP);
|
||||
}
|
||||
else if(entries[i].name.substr(0, 13) == "hekate_ctcaer"){
|
||||
std::cout << "Found hekate payload : " << entries[i].name << std::endl;
|
||||
unzipper.extractEntry(entries[i].name);
|
||||
CopyFile(entries[i].name.c_str(), UPDATE_BIN_PATH);
|
||||
int c = 0;
|
||||
while(R_FAILED(CopyFile(("/" + entries[i].name).c_str(), UPDATE_BIN_PATH)) && c < 10){
|
||||
std::cout << c++ << std::endl;
|
||||
}
|
||||
}
|
||||
else{
|
||||
unzipper.extractEntry(entries[i].name);
|
||||
|
|
Loading…
Reference in a new issue