1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-12-01 05:42:02 +00:00

fixed hekate link

This commit is contained in:
flb 2021-02-10 03:57:42 +01:00
parent 4415f308e5
commit db07d8f165
4 changed files with 7 additions and 3 deletions

View file

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

View file

@ -70,6 +70,7 @@
"v2_1_0": "v2.1.0", "v2_1_0": "v2.1.0",
"v2_1_0_text": "\uE016 Switched to a better way to get links.", "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_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", "Ok_button": "Ok",
"cheats_page.cpp":"", "cheats_page.cpp":"",

View file

@ -22,8 +22,8 @@ AmsTab::AmsTab() :
int nbLinks = links.size(); int nbLinks = links.size();
if(nbLinks){ if(nbLinks){
auto hekate_link = getLinks(HEKATE_URL); auto hekate_link = getLinks(HEKATE_URL);
std::string hekate_url = links[0].second; std::string hekate_url = hekate_link[0].second;
std::string text_hekate = "menus/list_down"_i18n + links[0].first; std::string text_hekate = "menus/list_down"_i18n + hekate_link[0].first;
for (int i = 0; i < nbLinks; i++){ for (int i = 0; i < nbLinks; i++){
std::string url = links[i].second; std::string url = links[i].second;

View file

@ -91,6 +91,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
verTitles.push_back("v2.1.1"); verTitles.push_back("v2.1.1");
changes.push_back("menus/v2_1_1_text"_i18n ); 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(); int nbVersions = verTitles.size();
items.reserve(nbVersions); items.reserve(nbVersions);
for(int i = nbVersions -1 ; i >= 0; i--){ for(int i = nbVersions -1 ; i >= 0; i--){