mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
#42 Enable reading update info from GitHub Packages REST API
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user