#42 Enable reading update info from GitHub Packages REST API

This commit is contained in:
Mat Sutcliffe
2020-07-03 21:10:16 +01:00
parent 8375881941
commit 38a1d24411
9 changed files with 198 additions and 7 deletions

View File

@@ -149,6 +149,18 @@ namespace BlackConfig
}
}
const QString& CBuildConfig::gitHubRepoUrl()
{
static const QString url = "https://github.com/swift-project/pilotclient/";
return url;
}
const QString& CBuildConfig::gitHubRepoApiUrl()
{
static const QString url = "https://api.github.com/repos/swift-project/pilotclient/";
return url;
}
const QString &CBuildConfig::buildDateAndTime()
{
// http://en.cppreference.com/w/cpp/preprocessor/replace#Predefined_macros