summaryrefslogtreecommitdiff
path: root/utils/rbutilqt/themesinstallwindow.cpp
diff options
context:
space:
mode:
authorDana Conrad <dconrad@fastmail.com>2024-09-14 14:34:21 -0500
committerSolomon Peachy <pizza@shaftnet.org>2024-09-24 10:48:58 -0400
commit5d2692375d32f7cd2c87d94c1f2b0ee62840765b (patch)
treeaf6ebb77724e1f285184a060bcd038aa878623ae /utils/rbutilqt/themesinstallwindow.cpp
parentf0c208554c5ccf628965c0b4b1415ac04789876e (diff)
downloadrockbox-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/themesinstallwindow.cpp')
-rw-r--r--utils/rbutilqt/themesinstallwindow.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/utils/rbutilqt/themesinstallwindow.cpp b/utils/rbutilqt/themesinstallwindow.cpp
index 3dd564c5e5..1c4281d25b 100644
--- a/utils/rbutilqt/themesinstallwindow.cpp
+++ b/utils/rbutilqt/themesinstallwindow.cpp
@@ -85,8 +85,13 @@ void ThemesInstallWindow::downloadInfo()
85 themesInfo.close(); 85 themesInfo.close();
86 86
87 QString infoUrl = PlayerBuildInfo::instance()->value(PlayerBuildInfo::ThemesInfoUrl).toString(); 87 QString infoUrl = PlayerBuildInfo::instance()->value(PlayerBuildInfo::ThemesInfoUrl).toString();
88 infoUrl.replace("%TARGET%", 88 if (PlayerBuildInfo::instance()->value(PlayerBuildInfo::ThemeName).toString() != "") {
89 RbSettings::value(RbSettings::CurrentPlatform).toString().split(".").at(0)); 89 infoUrl.replace("%TARGET%",
90 PlayerBuildInfo::instance()->value(PlayerBuildInfo::ThemeName).toString());
91 } else {
92 infoUrl.replace("%TARGET%",
93 RbSettings::value(RbSettings::CurrentPlatform).toString().split(".").at(0));
94 }
90 infoUrl.replace("%REVISION%", installInfo.revision()); 95 infoUrl.replace("%REVISION%", installInfo.revision());
91 infoUrl.replace("%RELEASE%", installInfo.release()); 96 infoUrl.replace("%RELEASE%", installInfo.release());
92 infoUrl.replace("%RBUTILVER%", VERSION); 97 infoUrl.replace("%RBUTILVER%", VERSION);