1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +00:00

Use mkpath instead of mkdir when downloading patches

This commit is contained in:
Joshua Goins 2022-09-15 09:36:38 -04:00
parent f8c0615bf0
commit 3b77932211

View file

@ -71,7 +71,7 @@ void Patcher::processPatchList(QNetworkAccessManager& mgr, QString patchList) {
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/patches/" + repository;
if (!QDir().exists(patchesDir))
QDir().mkdir(patchesDir);
QDir().mkpath(patchesDir);
if (!QFile::exists(patchesDir + "/" + name + ".patch")) {
QNetworkRequest patchRequest(url);