From 5d2692375d32f7cd2c87d94c1f2b0ee62840765b Mon Sep 17 00:00:00 2001 From: Dana Conrad Date: Sat, 14 Sep 2024 14:34:21 -0500 Subject: rbutil: Add erosqnative - Give each brand its own entry, and make ranges of OF versions correspond to hardware changes. - Temporarily disabled target aigoerosq. - Post-install hint enabled. - Added pre-install hint function - Added optional parameter themename, in case the target name does not match the themesite name. - Made Port Status (statusAsString()) only care about platform string prior to first '.' - Manual: Remove note that rbutil does not support this model Issues: - Cannot uninstall the bootloader - manual instructions are available Change-Id: I574aad7943ea3d1e543e9449f68240446fec0709 --- utils/rbutilqt/base/playerbuildinfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/rbutilqt/base/playerbuildinfo.cpp') diff --git a/utils/rbutilqt/base/playerbuildinfo.cpp b/utils/rbutilqt/base/playerbuildinfo.cpp index 7edb7f750c..1673f73d6b 100644 --- a/utils/rbutilqt/base/playerbuildinfo.cpp +++ b/utils/rbutilqt/base/playerbuildinfo.cpp @@ -67,6 +67,7 @@ const static struct { { PlayerBuildInfo::Encoder, ":target:/encoder" }, { PlayerBuildInfo::Brand, ":target:/brand" }, { PlayerBuildInfo::PlayerPicture, ":target:/playerpic" }, + { PlayerBuildInfo::ThemeName, ":target:/themename" }, { PlayerBuildInfo::TargetNamesAll, "_targets/all" }, { PlayerBuildInfo::TargetNamesEnabled, "_targets/enabled" }, { PlayerBuildInfo::LanguageInfo, "languages/:target:" }, @@ -332,7 +333,7 @@ QVariant PlayerBuildInfo::value(SystemUrl item) QString PlayerBuildInfo::statusAsString(QString platform) { QString result; - switch(value(BuildStatus, platform).toInt()) + switch(value(BuildStatus, platform.split('.').at(0)).toInt()) { case STATUS_RETIRED: result = tr("Stable (Retired)"); -- cgit v1.2.3