From db07d8f1654573a5c0fef0097c1f360a17b5fde7 Mon Sep 17 00:00:00 2001 From: flb Date: Wed, 10 Feb 2021 03:57:42 +0100 Subject: [PATCH] fixed hekate link --- Makefile | 2 +- resources/i18n/en-US/menus.json | 1 + source/ams_tab.cpp | 4 ++-- source/changelog_page.cpp | 3 +++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 920dcdf..cbd96a4 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ DATA := data INCLUDES := include lib/zipper/include APP_TITLE := All-in-One Switch Updater APP_AUTHOR := HamletDuFromage -APP_VERSION := 2.1.1 +APP_VERSION := 2.1.2 TARGET := $(notdir $(CURDIR)) ROMFS := resources diff --git a/resources/i18n/en-US/menus.json b/resources/i18n/en-US/menus.json index 753e25e..75e7fc7 100644 --- a/resources/i18n/en-US/menus.json +++ b/resources/i18n/en-US/menus.json @@ -70,6 +70,7 @@ "v2_1_0": "v2.1.0", "v2_1_0_text": "\uE016 Switched to a better way to get links.", "v2_1_1_text": "\uE016 Added a friendly reminder to reboot for new sigpatches to apply.\n\uE016 Changed the cheatslips cheatsheet view.", + "v2_1_2_text": "\uE016 Fixed wronge hekate link.", "Ok_button": "Ok", "cheats_page.cpp":"", diff --git a/source/ams_tab.cpp b/source/ams_tab.cpp index 8a97029..d2beb7c 100644 --- a/source/ams_tab.cpp +++ b/source/ams_tab.cpp @@ -22,8 +22,8 @@ AmsTab::AmsTab() : int nbLinks = links.size(); if(nbLinks){ auto hekate_link = getLinks(HEKATE_URL); - std::string hekate_url = links[0].second; - std::string text_hekate = "menus/list_down"_i18n + links[0].first; + std::string hekate_url = hekate_link[0].second; + std::string text_hekate = "menus/list_down"_i18n + hekate_link[0].first; for (int i = 0; i < nbLinks; i++){ std::string url = links[i].second; diff --git a/source/changelog_page.cpp b/source/changelog_page.cpp index e8e2192..db916b1 100644 --- a/source/changelog_page.cpp +++ b/source/changelog_page.cpp @@ -91,6 +91,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true) verTitles.push_back("v2.1.1"); changes.push_back("menus/v2_1_1_text"_i18n ); + verTitles.push_back("v2.1.2"); + changes.push_back("menus/v2_1_2_text"_i18n ); + int nbVersions = verTitles.size(); items.reserve(nbVersions); for(int i = nbVersions -1 ; i >= 0; i--){