mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 04:37:46 +00:00
Fix Dalamud asset directory failing to be created on macOS
This prevented Dalamud from launching out of the box, and instead silently failed.
This commit is contained in:
parent
38eb3c5dfa
commit
a72c031bf2
1 changed files with 2 additions and 2 deletions
|
@ -354,8 +354,8 @@ void AssetUpdater::checkIfCheckingIsDone() {
|
|||
auto assetReply = launcher.mgr->get(assetRequest);
|
||||
|
||||
connect(assetReply, &QNetworkReply::finished, [this, assetReply, assetObject = assetObject.toObject()] {
|
||||
if (!QDir().exists(dataDir + "/DalamudAssets/"))
|
||||
QDir().mkdir(dataDir + "/DalamudAssets/");
|
||||
if (!QDir().exists(dataDir + "/DalamudAssets"))
|
||||
QDir().mkdir(dataDir + "/DalamudAssets");
|
||||
|
||||
const QString fileName = assetObject["FileName"].toString();
|
||||
const QList<QString> dirPath = fileName.left(fileName.lastIndexOf("/")).split('/');
|
||||
|
|
Loading…
Add table
Reference in a new issue