mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
rbutil: Add support for installing daily builds.
Change-Id: If2bb23adcbd4a441f18846515c609118da8c5b5e
This commit is contained in:
parent
0ea8f074ed
commit
f598ef9c27
4 changed files with 16 additions and 1 deletions
|
|
@ -41,6 +41,8 @@ const static struct {
|
|||
{ ServerInfo::CurReleaseUrl, "release/:platform:", "" },
|
||||
{ ServerInfo::RelCandidateVersion, "release-candidate/:platform:", "" },
|
||||
{ ServerInfo::RelCandidateUrl, "release-candidate/:platform:", "" },
|
||||
{ ServerInfo::DailyVersion, "daily/:platform:", "" },
|
||||
{ ServerInfo::DailyUrl, "daily/:platform:", "" },
|
||||
{ ServerInfo::CurStatus, "status/:platform:", "-1" },
|
||||
{ ServerInfo::BleedingRevision, "bleeding/rev", "" },
|
||||
{ ServerInfo::BleedingDate, "bleeding/timestamp", "" },
|
||||
|
|
@ -83,10 +85,12 @@ QVariant ServerInfo::platformValue(enum ServerInfos info, QString platform)
|
|||
switch(info) {
|
||||
case CurReleaseVersion:
|
||||
case RelCandidateVersion:
|
||||
case DailyVersion:
|
||||
value = value.toStringList().at(0);
|
||||
break;
|
||||
case CurReleaseUrl:
|
||||
case RelCandidateUrl:
|
||||
case DailyUrl:
|
||||
{
|
||||
QString version = value.toStringList().at(0);
|
||||
if(value.toStringList().size() > 1)
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ class ServerInfo : public QObject
|
|||
BleedingDate,
|
||||
RelCandidateVersion,
|
||||
RelCandidateUrl,
|
||||
DailyVersion,
|
||||
DailyUrl
|
||||
};
|
||||
|
||||
static ServerInfo* instance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue