summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-23 20:26:05 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-23 20:44:46 +0100
commit9a52991bbd56a62930dff4f2e5465366108058af (patch)
tree1bc0d5e9a13ff5e9e95a5f6b6ed627a8a1706bd8 /rbutil
parent1ba6785e463971a478938ba80f068cc2e0b2595b (diff)
rbutil: Add support for installing daily builds.
Change-Id: If6618a4b2b1b0a718374ed8bac6976c4775947e1
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/base/serverinfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/serverinfo.cpp b/rbutil/rbutilqt/base/serverinfo.cpp
index 9fa3402828..5fee75f689 100644
--- a/rbutil/rbutilqt/base/serverinfo.cpp
+++ b/rbutil/rbutilqt/base/serverinfo.cpp
@@ -105,6 +105,11 @@ QVariant ServerInfo::platformValue(enum ServerInfos info, QString platform)
SystemInfo::BuildCandidate).toString()
.replace("%MODEL%", platform)
.replace("%RELVERSION%", version);
+ else if(!version.isEmpty() && info == DailyUrl)
+ value = SystemInfo::value(SystemInfo::BuildUrl,
+ SystemInfo::BuildDaily).toString()
+ .replace("%MODEL%", platform)
+ .replace("%RELVERSION%", version);
}
break;
case CurDevelUrl: