rbutil: Fall back from 'development' to 'daily' for all non-firmware artifacts

Before we only fell back for manuals and fonts, whereas
we also needed to fall back for source and voices.  Given that
dev builds only produce the actual binaries, just fall back for
everything else.

Change-Id: Ibd84a942d380f69c86ca2243cb2c192de7efd047
This commit is contained in:
Solomon Peachy 2025-03-28 08:27:30 -04:00
parent 7d50749bc0
commit b6f8f31b7c

View file

@ -130,9 +130,9 @@ QVariant PlayerBuildInfo::value(BuildInfo item, BuildType type)
break;
case TypeDevel:
buildtypename = "development";
// manual and fonts don't exist for development builds. We do have an
// URL configured, but need to get the daily version instead.
if(item == BuildManualUrl || item == BuildFontUrl) {
// For development builds, we only provide the binaries.
// For the rest, get the daily version instead.
if(item != BuildUrl) {
LOG_INFO() << "falling back to daily build for this info value";
buildtypename = "daily";
}