mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-12-01 05:42:02 +00:00
Prepare for AMS 1.0.0
This commit is contained in:
parent
77c058c0a3
commit
f432ff835a
6 changed files with 8 additions and 13 deletions
2
Makefile
2
Makefile
|
@ -22,7 +22,7 @@ DATA := data
|
||||||
INCLUDES := include lib/zipper/include /lib/borealis/library/include/borealis/extern/nlohmann
|
INCLUDES := include lib/zipper/include /lib/borealis/library/include/borealis/extern/nlohmann
|
||||||
APP_TITLE := All-in-One Switch Updater
|
APP_TITLE := All-in-One Switch Updater
|
||||||
APP_AUTHOR := HamletDuFromage
|
APP_AUTHOR := HamletDuFromage
|
||||||
APP_VERSION := 2.11.5
|
APP_VERSION := 2.12.0
|
||||||
TARGET := $(notdir $(CURDIR))
|
TARGET := $(notdir $(CURDIR))
|
||||||
|
|
||||||
ROMFS := resources
|
ROMFS := resources
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 97f63e66b18e3bb4892b7954b1169de32908f1d0
|
Subproject commit ce51c1f22afcf98a9c10fa7013b505ae4e8a25be
|
8
build.sh
8
build.sh
|
@ -1,8 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
||||||
cd $DIR
|
|
||||||
pushd aiosu-forwarder
|
|
||||||
make
|
|
||||||
popd
|
|
||||||
make -j$(nproc)
|
|
|
@ -48,7 +48,6 @@ void AppPage::PopulatePage()
|
||||||
this->DeclareGameListItem(name, tid, &controlData);
|
this->DeclareGameListItem(name, tid, &controlData);
|
||||||
}
|
}
|
||||||
free(controlData);
|
free(controlData);
|
||||||
delete[] records;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -60,6 +59,7 @@ void AppPage::PopulatePage()
|
||||||
label = new brls::Label(brls::LabelStyle::SMALL, "menus/common/applet_mode_not_supported"_i18n, true);
|
label = new brls::Label(brls::LabelStyle::SMALL, "menus/common/applet_mode_not_supported"_i18n, true);
|
||||||
list->addView(label);
|
list->addView(label);
|
||||||
}
|
}
|
||||||
|
delete[] records;
|
||||||
|
|
||||||
this->CreateDownloadAllButton();
|
this->CreateDownloadAllButton();
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ void AppPage::CreateDownloadAllButton()
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 AppPage::InitControlData(NsApplicationControlData** controlData) {
|
u32 AppPage::InitControlData(NsApplicationControlData** controlData) {
|
||||||
free(controlData);
|
free(*controlData);
|
||||||
*controlData = (NsApplicationControlData*)malloc(sizeof(NsApplicationControlData));
|
*controlData = (NsApplicationControlData*)malloc(sizeof(NsApplicationControlData));
|
||||||
if(*controlData == NULL) {
|
if(*controlData == NULL) {
|
||||||
return 300;
|
return 300;
|
||||||
|
|
|
@ -196,6 +196,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
|
||||||
verTitles.push_back("v2.11.5");
|
verTitles.push_back("v2.11.5");
|
||||||
changes.push_back("\uE016 Update Japanese translation.\n\uE016 Do not show theme warning when downloading something that is not firmware files.");
|
changes.push_back("\uE016 Update Japanese translation.\n\uE016 Do not show theme warning when downloading something that is not firmware files.");
|
||||||
|
|
||||||
|
verTitles.push_back("v2.12.0");
|
||||||
|
changes.push_back("\uE016 Prepare for AMS 1.0.0.\n\uE016 Update Japanese and French Translations.\n\uE016 Small bugfixes.");
|
||||||
|
|
||||||
for(int i = verTitles.size() -1 ; i >= 0; i--){
|
for(int i = verTitles.size() -1 ; i >= 0; i--){
|
||||||
listItem = new brls::ListItem(verTitles[i]);
|
listItem = new brls::ListItem(verTitles[i]);
|
||||||
change = changes[i];
|
change = changes[i];
|
||||||
|
|
|
@ -62,7 +62,7 @@ void extract(const std::string& filename, const std::string& workingPath, int o
|
||||||
unzipper.extractEntry(entry.name);
|
unzipper.extractEntry(entry.name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(entry.name == "sept/payload.bin" || entry.name == "atmosphere/fusee-secondary.bin" || entry.name == "atmosphere/stratosphere.romfs"){
|
else if(entry.name == "sept/payload.bin" || entry.name == "atmosphere/fusee-secondary.bin" || entry.name == "atmosphere/stratosphere.romfs" || entry.name == "atmosphere/package3"){
|
||||||
std::ofstream readonlyFile(entry.name + ".aio");
|
std::ofstream readonlyFile(entry.name + ".aio");
|
||||||
unzipper.extractEntryToStream(entry.name, readonlyFile);
|
unzipper.extractEntryToStream(entry.name, readonlyFile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue