1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-28 04:12:03 +00:00

Prepare for AMS 1.0.0

This commit is contained in:
flb 2021-09-07 15:44:12 +02:00
parent 77c058c0a3
commit f432ff835a
6 changed files with 8 additions and 13 deletions

View file

@ -22,7 +22,7 @@ DATA := data
INCLUDES := include lib/zipper/include /lib/borealis/library/include/borealis/extern/nlohmann
APP_TITLE := All-in-One Switch Updater
APP_AUTHOR := HamletDuFromage
APP_VERSION := 2.11.5
APP_VERSION := 2.12.0
TARGET := $(notdir $(CURDIR))
ROMFS := resources

@ -1 +1 @@
Subproject commit 97f63e66b18e3bb4892b7954b1169de32908f1d0
Subproject commit ce51c1f22afcf98a9c10fa7013b505ae4e8a25be

View file

@ -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)

View file

@ -48,7 +48,6 @@ void AppPage::PopulatePage()
this->DeclareGameListItem(name, tid, &controlData);
}
free(controlData);
delete[] records;
}
}
else {
@ -60,6 +59,7 @@ void AppPage::PopulatePage()
label = new brls::Label(brls::LabelStyle::SMALL, "menus/common/applet_mode_not_supported"_i18n, true);
list->addView(label);
}
delete[] records;
this->CreateDownloadAllButton();
@ -104,7 +104,7 @@ void AppPage::CreateDownloadAllButton()
}
u32 AppPage::InitControlData(NsApplicationControlData** controlData) {
free(controlData);
free(*controlData);
*controlData = (NsApplicationControlData*)malloc(sizeof(NsApplicationControlData));
if(*controlData == NULL) {
return 300;

View file

@ -196,6 +196,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
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.");
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--){
listItem = new brls::ListItem(verTitles[i]);
change = changes[i];

View file

@ -62,7 +62,7 @@ void extract(const std::string& filename, const std::string& workingPath, int o
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");
unzipper.extractEntryToStream(entry.name, readonlyFile);
}