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:
parent
585c549050
commit
065580583d
1 changed files with 4 additions and 0 deletions
|
@ -226,6 +226,8 @@ void AssetUpdater::finishDownload(QNetworkReply* reply) {
|
||||||
|
|
||||||
doneDownloadingDalamud = true;
|
doneDownloadingDalamud = true;
|
||||||
|
|
||||||
|
launcher.dalamudVersion = remoteDalamudVersion;
|
||||||
|
|
||||||
checkIfFinished();
|
checkIfFinished();
|
||||||
} else if (reply->objectName() == "NativeLauncher") {
|
} else if (reply->objectName() == "NativeLauncher") {
|
||||||
qInfo() << "NativeLauncher finished downloading!";
|
qInfo() << "NativeLauncher finished downloading!";
|
||||||
|
@ -335,6 +337,8 @@ void AssetUpdater::checkIfDalamudAssetsDone() {
|
||||||
if(dalamudAssetNeededFilenames.empty()) {
|
if(dalamudAssetNeededFilenames.empty()) {
|
||||||
qInfo() << "Finished downloading Dalamud assets.";
|
qInfo() << "Finished downloading Dalamud assets.";
|
||||||
|
|
||||||
|
launcher.dalamudAssetVersion = remoteDalamudAssetVersion;
|
||||||
|
|
||||||
const QString dataDir =
|
const QString dataDir =
|
||||||
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/DalamudAssets/";
|
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/DalamudAssets/";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue