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/themesinstallwindow.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'utils/rbutilqt/themesinstallwindow.cpp') 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() themesInfo.close(); QString infoUrl = PlayerBuildInfo::instance()->value(PlayerBuildInfo::ThemesInfoUrl).toString(); - infoUrl.replace("%TARGET%", - RbSettings::value(RbSettings::CurrentPlatform).toString().split(".").at(0)); + if (PlayerBuildInfo::instance()->value(PlayerBuildInfo::ThemeName).toString() != "") { + infoUrl.replace("%TARGET%", + PlayerBuildInfo::instance()->value(PlayerBuildInfo::ThemeName).toString()); + } else { + infoUrl.replace("%TARGET%", + RbSettings::value(RbSettings::CurrentPlatform).toString().split(".").at(0)); + } infoUrl.replace("%REVISION%", installInfo.revision()); infoUrl.replace("%RELEASE%", installInfo.release()); infoUrl.replace("%RBUTILVER%", VERSION); -- cgit v1.2.3