1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-12-28 18:36:02 +00:00

Fix Traditional Chinese strings not showing https://github.com/HamletDuFromage/aio-switch-updater/issues/114 , Remove full RAM access check for firmware downloads

This commit is contained in:
flb 2021-07-29 16:20:40 +02:00
parent 22bf0a4538
commit be23452398
4 changed files with 6 additions and 8 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.3
APP_VERSION := 2.11.4
TARGET := $(notdir $(CURDIR))
ROMFS := resources

View file

@ -64,7 +64,7 @@
"cancel": "取消",
"off": "關",
"selected": "已選擇",
"applet_mode_not_supported": "此功能在applet模式內無法使用。請重新執行aio-switch-updater並透過title重新導向來進行存取",
"applet_mode_not_supported": "此功能在applet模式內無法使用。請重新執行aio-switch-updater並透過title重新導向來進行存取"
},
"changelog": {
"changelog": "更新履歷"

View file

@ -190,6 +190,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
verTitles.push_back("v2.11.3");
changes.push_back("\uE016 Don't download the cheat archive when already cached.\n\uE016 Added ability to hide more entries through hide_tabs.json.\n\uE016 Better support for non-UTF-8 characters.");
verTitles.push_back("v2.11.4");
changes.push_back("\uE016 Fix Traditional Chinese strings not showing.\n\uE016 Remove full RAM access check for firmware downloads.");
for(int i = verTitles.size() -1 ; i >= 0; i--){
listItem = new brls::ListItem(verTitles[i]);
change = changes[i];

View file

@ -42,12 +42,7 @@ void downloadArchive(const std::string& url, archiveType type, long& status_code
status_code = download::downloadFile(url, CHEATS_FILENAME, OFF);
break;
case archiveType::fw:
if (!isApplet()) {
status_code = download::downloadFile(url, FIRMWARE_FILENAME, OFF);
}
else{
brls::Application::crash("menus/utils/fw_warning"_i18n);
}
status_code = download::downloadFile(url, FIRMWARE_FILENAME, OFF);
break;
case archiveType::app:
status_code = download::downloadFile(url, APP_FILENAME, OFF);