From 474bd19337555105bfe0f4b644eee97c25c24cfc Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 18 May 2024 14:23:31 -0400 Subject: [PATCH] Remove platform-specific default game path This is the wrong way to do this, and a leftover from the old days. --- launcher/src/profilemanager.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/launcher/src/profilemanager.cpp b/launcher/src/profilemanager.cpp index adda7de..2db1acb 100644 --- a/launcher/src/profilemanager.cpp +++ b/launcher/src/profilemanager.cpp @@ -66,21 +66,9 @@ void ProfileManager::deleteProfile(Profile *profile) QString ProfileManager::getDefaultGamePath(const QString &uuid) { -#if defined(Q_OS_WIN) - return QStringLiteral("C:\\Program Files (x86)\\SquareEnix\\FINAL FANTASY XIV - A Realm Reborn"); -#endif - -#if defined(Q_OS_MAC) - return QDir::homePath() + - QStringLiteral("/Library/Application Support/FINAL FANTASY XIV ONLINE/Bottles/published_Final_Fantasy/drive_c/Program " - "Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn"); -#endif - -#if defined(Q_OS_LINUX) const QDir appData = QStandardPaths::standardLocations(QStandardPaths::StandardLocation::AppDataLocation)[0]; const QDir gameDir = appData.absoluteFilePath(QStringLiteral("game")); return gameDir.absoluteFilePath(uuid); -#endif } QString ProfileManager::getDefaultWinePrefixPath(const QString &uuid)