Bootstrap file name encapsulated

This commit is contained in:
Klaus Basan
2018-01-12 04:24:45 +01:00
parent 7dd77b8ca3
commit 826760e347
4 changed files with 18 additions and 8 deletions

View File

@@ -286,7 +286,7 @@ namespace BlackCore
if (dir.isEmpty()) { return CStatusMessage(this).error("Empty shared directory '%1' for bootstrap file") << dir; }
// no version for local files, as those come with the current code
fn = CFileUtils::appendFilePaths(dir, "bootstrap/bootstrap.json");
fn = CFileUtils::appendFilePaths(dir, "bootstrap/" + CDirectoryUtils::bootstrapFileName());
}
else
{