mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
* changed signals in setup reader * explicit mode is default * detailed information what is loaded * new log pattern * allow to add message list to log component * allow to clear cache by cmd line arg * consolidated cmd names
This commit is contained in:
@@ -82,14 +82,14 @@ namespace BlackCore
|
||||
|
||||
QString CGlobalSetup::buildBootstrapFileUrl(const QString &candidate)
|
||||
{
|
||||
static const QString vS(QString(versionString()).append("/"));
|
||||
static const QString version(QString(versionString()).append("/"));
|
||||
if (candidate.endsWith("bootstrap.json")) { return candidate; }
|
||||
CUrl url(candidate);
|
||||
if (candidate.contains("/bootstrap"))
|
||||
{
|
||||
url.appendPath("bootstrap.json");
|
||||
}
|
||||
else if (candidate.endsWith(versionString()) || candidate.endsWith(vS))
|
||||
else if (candidate.endsWith(versionString()) || candidate.endsWith(version))
|
||||
{
|
||||
url.appendPath("/bootstrap/bootstrap.json");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user