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

Fixed self-update

This commit is contained in:
flb 2020-10-07 02:51:29 +02:00
parent ebf8d70ba6
commit 8171510c2e
7 changed files with 13 additions and 13 deletions

View file

@ -45,7 +45,7 @@ DATA := data
INCLUDES := include lib/zipper/include
APP_TITLE := All-in-One Switch Updater
APP_AUTHOR := HamletDuFromage
APP_VERSION := 1.2.3
APP_VERSION := 1.2.4
TARGET := $(notdir $(CURDIR))-v$(APP_VERSION)
ROMFS := resources

View file

@ -36,8 +36,8 @@
"v1_2_1_text": "\uE016 Added option to set a payload to /bootloader/update.bin",
"v1_2_2": "v1.2.2",
"v1_2_2_text": "\uE016 Added japanese localisation (thanks to github.com/yyoossk).",
"v1_2_3": "v1.2.3",
"v1_2_3_text": "\uE016 Fixed app self-update",
"v1_2_4": "v1.2.4",
"v1_2_4_text": "\uE016 Fixed app self-update",
"Ok_button": "Ok",
"cheats_page.cpp":"",

View file

@ -36,8 +36,8 @@
"v1_2_1_text": "\uE016 Added option to set a payload to /bootloader/update.bin",
"v1_2_2": "v1.2.2",
"v1_2_2_text": "\uE016 Added japanese localisation (thanks to github.com/yyoossk).",
"v1_2_3": "v1.2.3",
"v1_2_3_text": "\uE016 Fixed app self-update",
"v1_2_4": "v1.2.4",
"v1_2_4_text": "\uE016 Fixed app self-update",
"Ok_button": "Ok",
"cheats_page.cpp":"",

View file

@ -36,8 +36,8 @@
"v1_2_1_text": "\uE016 Added option to set a payload to /bootloader/update.bin",
"v1_2_2": "v1.2.2",
"v1_2_2_text": "\uE016 Added japanese localisation (thanks to github.com/yyoossk).",
"v1_2_3": "v1.2.3",
"v1_2_3_text": "\uE016 Fixed app self-update",
"v1_2_4": "v1.2.4",
"v1_2_4_text": "\uE016 Fixed app self-update",
"Ok_button": "決定",
"cheats_page.cpp":"",

View file

@ -33,10 +33,10 @@
"v1_2_0_text": "\uE016 现在可以使用多种语言(感谢'github.com/tiansongyu').\n\uE016 目前支持中文和法文.",
"v1_2_1": "v1.2.1",
"v1_2_1_text": "\uE016 Added option to set a payload to /bootloader/update.bin",
"v1_2_2": "v1.2.3",
"v1_2_2": "v1.2.2",
"v1_2_2_text": "\uE016 Added japanese localisation (thanks to github.com/yyoossk).",
"v1_2_3": "v1.2.3",
"v1_2_3_text": "\uE016 Fixed app self-update",
"v1_2_4": "v1.2.4",
"v1_2_4_text": "\uE016 Fixed app self-update",
"Ok_button": "确定",
"cheats_page.cpp":"",

View file

@ -40,8 +40,8 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
verTitles.push_back("menus/v1_2_2"_i18n );
changes.push_back("menus/v1_2_2_text"_i18n );
verTitles.push_back("menus/v1_2_3"_i18n );
changes.push_back("menus/v1_2_3_text"_i18n );
verTitles.push_back("menus/v1_2_4"_i18n );
changes.push_back("menus/v1_2_4_text"_i18n );
int nbVersions = verTitles.size();
items.reserve(nbVersions);

View file

@ -35,7 +35,7 @@ ToolsTab::ToolsTab(std::string tag) : brls::List()
if(!tag.empty() && tag != APP_VERSION){
updateApp = new brls::ListItem("menus/tool_update"_i18n + tag +")");
std::string text("menus/tool_DownLoad"_i18n + std::string(APP_URL));
updateApp->getClickEvent()->subscribe([&, text](brls::View* view) {
updateApp->getClickEvent()->subscribe([&, text, tag](brls::View* view) {
brls::StagedAppletFrame* stagedFrame = new brls::StagedAppletFrame();
stagedFrame->setTitle("menus/tool_updating"_i18n );
stagedFrame->addStage(