mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-11-09 20:11:48 +00:00
Fixed non Atmosphere CFW being wrongly categorised as ams
This commit is contained in:
parent
d230e73bd7
commit
618fde49dd
6 changed files with 9 additions and 5 deletions
2
Makefile
2
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.2.0
|
||||
APP_VERSION := 2.2.1
|
||||
TARGET := $(notdir $(CURDIR))
|
||||
|
||||
ROMFS := resources
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
bool isServiceRunning(const char *serviceName);
|
||||
CFW getCFW();
|
||||
static CFW running_cfw = ams;
|
||||
extern CFW running_cfw;
|
|
@ -72,6 +72,7 @@
|
|||
"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.",
|
||||
"v2_2_0_text": "\uE016 For cheatslips.com, the build ID of a running game will now be fetched, allowing you to access cheatsheets even if the build ID isn't listed in the versions database.",
|
||||
"v2_2_1_text": "\uE016 Fixed non Atmosphere CFW being wrongly categorised as ams.",
|
||||
"Ok_button": "Ok",
|
||||
|
||||
"cheats_page.cpp":"",
|
||||
|
|
|
@ -97,6 +97,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
|
|||
verTitles.push_back("v2.2.0");
|
||||
changes.push_back("menus/v2_2_0_text"_i18n );
|
||||
|
||||
verTitles.push_back("v2.2.1");
|
||||
changes.push_back("menus/v2_2_1_text"_i18n );
|
||||
|
||||
|
||||
|
||||
int nbVersions = verTitles.size();
|
||||
|
|
|
@ -6,12 +6,15 @@
|
|||
#include "main_frame.hpp"
|
||||
#include "constants.hpp"
|
||||
#include "utils.hpp"
|
||||
#include "current_cfw.hpp"
|
||||
|
||||
namespace i18n = brls::i18n;
|
||||
using namespace i18n::literals;
|
||||
|
||||
//TimeServiceType __nx_time_service_type = TimeServiceType_System;
|
||||
|
||||
CFW running_cfw = getCFW();
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
// Init the app
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include "main_frame.hpp"
|
||||
#include "current_cfw.hpp"
|
||||
#include "about_tab.hpp"
|
||||
#include "list_download_tab.hpp"
|
||||
#include "ams_tab.hpp"
|
||||
|
@ -22,8 +21,6 @@ MainFrame::MainFrame() : TabFrame()
|
|||
this->setFooterText("v" + std::string(APP_VERSION) + "menus/main_app"_i18n );
|
||||
else
|
||||
this->setFooterText("v" + std::string(APP_VERSION));
|
||||
|
||||
static CFW running_cfw = getCFW();
|
||||
|
||||
json hideStatus;
|
||||
std::ifstream hideFile(HIDE_TABS_JSON);
|
||||
|
|
Loading…
Reference in a new issue