diff options
author | Dana Conrad <dconrad@fastmail.com> | 2024-09-14 14:34:21 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-09-24 10:48:58 -0400 |
commit | 5d2692375d32f7cd2c87d94c1f2b0ee62840765b (patch) | |
tree | af6ebb77724e1f285184a060bcd038aa878623ae /utils/rbutilqt/base/playerbuildinfo.cpp | |
parent | f0c208554c5ccf628965c0b4b1415ac04789876e (diff) | |
download | rockbox-5d2692375d32f7cd2c87d94c1f2b0ee62840765b.tar.gz rockbox-5d2692375d32f7cd2c87d94c1f2b0ee62840765b.zip |
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
Diffstat (limited to 'utils/rbutilqt/base/playerbuildinfo.cpp')
-rw-r--r-- | utils/rbutilqt/base/playerbuildinfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 { | |||
67 | { PlayerBuildInfo::Encoder, ":target:/encoder" }, | 67 | { PlayerBuildInfo::Encoder, ":target:/encoder" }, |
68 | { PlayerBuildInfo::Brand, ":target:/brand" }, | 68 | { PlayerBuildInfo::Brand, ":target:/brand" }, |
69 | { PlayerBuildInfo::PlayerPicture, ":target:/playerpic" }, | 69 | { PlayerBuildInfo::PlayerPicture, ":target:/playerpic" }, |
70 | { PlayerBuildInfo::ThemeName, ":target:/themename" }, | ||
70 | { PlayerBuildInfo::TargetNamesAll, "_targets/all" }, | 71 | { PlayerBuildInfo::TargetNamesAll, "_targets/all" }, |
71 | { PlayerBuildInfo::TargetNamesEnabled, "_targets/enabled" }, | 72 | { PlayerBuildInfo::TargetNamesEnabled, "_targets/enabled" }, |
72 | { PlayerBuildInfo::LanguageInfo, "languages/:target:" }, | 73 | { PlayerBuildInfo::LanguageInfo, "languages/:target:" }, |
@@ -332,7 +333,7 @@ QVariant PlayerBuildInfo::value(SystemUrl item) | |||
332 | QString PlayerBuildInfo::statusAsString(QString platform) | 333 | QString PlayerBuildInfo::statusAsString(QString platform) |
333 | { | 334 | { |
334 | QString result; | 335 | QString result; |
335 | switch(value(BuildStatus, platform).toInt()) | 336 | switch(value(BuildStatus, platform.split('.').at(0)).toInt()) |
336 | { | 337 | { |
337 | case STATUS_RETIRED: | 338 | case STATUS_RETIRED: |
338 | result = tr("Stable (Retired)"); | 339 | result = tr("Stable (Retired)"); |