fix hbmenu not being updated due to faulty string compare, bump version 0.10.1 -> 0.10.2

This commit is contained in:
ITotalJustice
2025-05-19 20:34:22 +01:00
parent 041bb2bbe5
commit cf192fca85
4 changed files with 18 additions and 4 deletions

View File

@@ -127,6 +127,10 @@ public:
void ScanThemes(const std::string& path);
void ScanThemeEntries();
// helper that converts 1.2.3 to a u32 used for comparisons.
static auto GetVersionFromString(const char* str) -> u32;
static auto IsVersionNewer(const char* current, const char* new_version) -> u32;
static auto IsApplication() -> bool {
const auto type = appletGetAppletType();
return type == AppletType_Application || type == AppletType_SystemApplication;