From b8fe2f75148111ab0a22af918fdd490c9a2fff14 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 20 Dec 2023 20:20:20 -0500 Subject: [PATCH] Rename "tools" directory to "tool" --- launcher/src/assetupdater.cpp | 2 +- launcher/src/gamerunner.cpp | 2 +- launcher/src/profile.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/launcher/src/assetupdater.cpp b/launcher/src/assetupdater.cpp index 2572a49..ff4a354 100644 --- a/launcher/src/assetupdater.cpp +++ b/launcher/src/assetupdater.cpp @@ -31,7 +31,7 @@ QCoro::Task AssetUpdater::update() qInfo(ASTRA_LOG) << "Checking for compatibility tool updates..."; m_dataDir = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); - const QDir compatibilityToolDir = m_dataDir.absoluteFilePath(QStringLiteral("tools")); + const QDir compatibilityToolDir = m_dataDir.absoluteFilePath(QStringLiteral("tool")); m_wineDir = compatibilityToolDir.absoluteFilePath(QStringLiteral("wine")); m_dxvkDir = compatibilityToolDir.absoluteFilePath(QStringLiteral("dxvk")); diff --git a/launcher/src/gamerunner.cpp b/launcher/src/gamerunner.cpp index 927a0a8..3652685 100644 --- a/launcher/src/gamerunner.cpp +++ b/launcher/src/gamerunner.cpp @@ -176,7 +176,7 @@ void GameRunner::launchExecutable(const Profile &profile, QProcess *process, con // copy DXVK const QDir dataDir = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); - const QDir compatibilityToolDir = dataDir.absoluteFilePath(QStringLiteral("tools")); + const QDir compatibilityToolDir = dataDir.absoluteFilePath(QStringLiteral("tool")); const QDir dxvkDir = compatibilityToolDir.absoluteFilePath(QStringLiteral("dxvk")); const QDir dxvk64Dir = dxvkDir.absoluteFilePath(QStringLiteral("x64")); diff --git a/launcher/src/profile.cpp b/launcher/src/profile.cpp index 0f27fd1..dda332f 100644 --- a/launcher/src/profile.cpp +++ b/launcher/src/profile.cpp @@ -30,7 +30,7 @@ void Profile::readDalamudInfo() { const QDir dataDir = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); - const QDir compatibilityToolDir = dataDir.absoluteFilePath(QStringLiteral("tools")); + const QDir compatibilityToolDir = dataDir.absoluteFilePath(QStringLiteral("tool")); const QDir wineDir = compatibilityToolDir.absoluteFilePath(QStringLiteral("wine")); if (wineDir.exists()) { const QString wineVer = wineDir.absoluteFilePath(QStringLiteral("wine.ver")); @@ -154,7 +154,7 @@ QString Profile::winePath() const switch (wineType()) { case WineType::BuiltIn: { const QDir dataDir = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); - const QDir compatibilityToolDir = dataDir.absoluteFilePath(QStringLiteral("tools")); + const QDir compatibilityToolDir = dataDir.absoluteFilePath(QStringLiteral("tool")); const QDir wineDir = compatibilityToolDir.absoluteFilePath(QStringLiteral("wine")); const QDir wineBinDir = wineDir.absoluteFilePath(QStringLiteral("bin"));