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:
parent
f8c0615bf0
commit
3b77932211
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue