1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00

When done updating Dalamud asset/core, reflect immediately in settings

This commit is contained in:
Joshua Goins 2022-03-13 20:07:09 -04:00
parent 585c549050
commit 065580583d

View file

@ -226,6 +226,8 @@ void AssetUpdater::finishDownload(QNetworkReply* reply) {
doneDownloadingDalamud = true;
launcher.dalamudVersion = remoteDalamudVersion;
checkIfFinished();
} else if (reply->objectName() == "NativeLauncher") {
qInfo() << "NativeLauncher finished downloading!";
@ -335,6 +337,8 @@ void AssetUpdater::checkIfDalamudAssetsDone() {
if(dalamudAssetNeededFilenames.empty()) {
qInfo() << "Finished downloading Dalamud assets.";
launcher.dalamudAssetVersion = remoteDalamudAssetVersion;
const QString dataDir =
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/DalamudAssets/";