diff --git a/.gitignore b/.gitignore index 230579c..5a9878b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ switch/ *.zip *.bin *.nsp +*.psd resources/i18n/zh-Hans resources/i18n/zh-Hant resources/i18n/en-GB diff --git a/Makefile b/Makefile index 3cc3510..7a05b55 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 := 1.5.0 +APP_VERSION := 1.5.1 TARGET := $(notdir $(CURDIR)) ROMFS := resources diff --git a/aiosu-forwarder/source/main.cpp b/aiosu-forwarder/source/main.cpp index f96da37..c24dd17 100644 --- a/aiosu-forwarder/source/main.cpp +++ b/aiosu-forwarder/source/main.cpp @@ -1,6 +1,5 @@ #include #include -#include #include diff --git a/resources/gui_icon.png b/resources/gui_icon.png new file mode 100644 index 0000000..63e9226 Binary files /dev/null and b/resources/gui_icon.png differ diff --git a/resources/i18n/en-US/menus.json b/resources/i18n/en-US/menus.json index 7073b78..d6c1e32 100644 --- a/resources/i18n/en-US/menus.json +++ b/resources/i18n/en-US/menus.json @@ -58,6 +58,8 @@ "v1_4_3_text": "\uE016 Fixed switch not rebooting to hekate payload after updating.", "v1_5_0": "v1.5.0", "v1_5_0_text": "\uE016 Overhauled the app update feature.", + "v1_5_1": "v1.5.0", + "v1_5_1_text": "\uE016 A few graphical tweaks.", "Ok_button": "Ok", "cheats_page.cpp":"", diff --git a/source/changelog_page.cpp b/source/changelog_page.cpp index 9f710c6..d06ff4c 100644 --- a/source/changelog_page.cpp +++ b/source/changelog_page.cpp @@ -73,6 +73,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true) verTitles.push_back("menus/v1_5_0"_i18n ); changes.push_back("menus/v1_5_0_text"_i18n ); + verTitles.push_back("menus/v1_5_1"_i18n ); + changes.push_back("menus/v1_5_1_text"_i18n ); + int nbVersions = verTitles.size(); items.reserve(nbVersions); for(int i = nbVersions -1 ; i >= 0; i--){ diff --git a/source/main_frame.cpp b/source/main_frame.cpp index 946bbca..07a7e58 100644 --- a/source/main_frame.cpp +++ b/source/main_frame.cpp @@ -8,8 +8,10 @@ MainFrame::MainFrame() : TabFrame() std::string tag = getLatestTag(TAGS_INFO); if(!tag.empty() && tag != APP_VERSION) setTitle(std::string(APP_TITLE) + "menus/main_app"_i18n ); - else - setTitle(std::string(APP_TITLE) + "menus/main_v"_i18n + std::string(APP_VERSION)); + /* else + setTitle(std::string(APP_TITLE) + "menus/main_v"_i18n + std::string(APP_VERSION)); */ + this->setIcon("romfs:/gui_icon.png"); + this->setFooterText("v" + std::string(APP_VERSION)); this->addTab("menus/main_about"_i18n , new AboutTab()); diff --git a/source/tools_tab.cpp b/source/tools_tab.cpp index 16823d2..d55ab2f 100644 --- a/source/tools_tab.cpp +++ b/source/tools_tab.cpp @@ -123,7 +123,8 @@ ToolsTab::ToolsTab(std::string tag) : brls::List() cleanUp->setHeight(LISTITEM_HEIGHT); this->addView(cleanUp); - //tag = "1.TEST"; + //tag = "1.TEST" + //std::cout << "tag: " << tag << std::endl; 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));