feat: add versionListData

*draft versionWindow
*repair version
This commit is contained in:
semenov
2024-12-19 10:16:14 +03:00
parent f7ca02444c
commit 6da0d90d06
28 changed files with 233 additions and 111 deletions

View File

@@ -20,7 +20,7 @@ void UpdateController::calculateCommonHash()
appDataList = calculateHash(applicationFolderPath,"StreamingAssets");
calculateStreamingHash();
appDataList.append(streamingDataList);
dataParser->createFileDataList(appDataList,hashFilename);
dataParser->createFileDataList(appDataList,QDir::currentPath() + hashFilename);
qDebug() << "UpdateController threadID " << QThread::currentThreadId();
}
@@ -29,7 +29,7 @@ void UpdateController::calculateStreamingHash()
streamingDataList.clear();
streamingDataList = calculateHash(QDir::currentPath() + streamingAssetsPath,"");
std::sort(streamingDataList.begin(),streamingDataList.end());
dataParser->createFileDataList(streamingDataList,streamingHashFilename);
dataParser->createFileDataList(streamingDataList,QDir::currentPath() + streamingHashFilename);
}
void UpdateController::setServerVersion(StreamingVersionData *version)