From be2345239840140ccb986e308a8c17446cb4933d Mon Sep 17 00:00:00 2001 From: flb Date: Thu, 29 Jul 2021 16:20:40 +0200 Subject: [PATCH] Fix Traditional Chinese strings not showing https://github.com/HamletDuFromage/aio-switch-updater/issues/114 , Remove full RAM access check for firmware downloads --- Makefile | 2 +- resources/i18n/zh-TW/menus.json | 2 +- source/changelog_page.cpp | 3 +++ source/utils.cpp | 7 +------ 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 624f731..6929d02 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/resources/i18n/zh-TW/menus.json b/resources/i18n/zh-TW/menus.json index f00612b..43b7755 100644 --- a/resources/i18n/zh-TW/menus.json +++ b/resources/i18n/zh-TW/menus.json @@ -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": "更新履歷" diff --git a/source/changelog_page.cpp b/source/changelog_page.cpp index 3d8c6d9..b9b0661 100644 --- a/source/changelog_page.cpp +++ b/source/changelog_page.cpp @@ -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]; diff --git a/source/utils.cpp b/source/utils.cpp index 801d414..f836ca4 100644 --- a/source/utils.cpp +++ b/source/utils.cpp @@ -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);