mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 11:47:46 +00:00
Remove platform-specific default game path
This is the wrong way to do this, and a leftover from the old days.
This commit is contained in:
parent
925597758c
commit
474bd19337
1 changed files with 0 additions and 12 deletions
|
@ -66,21 +66,9 @@ void ProfileManager::deleteProfile(Profile *profile)
|
||||||
|
|
||||||
QString ProfileManager::getDefaultGamePath(const QString &uuid)
|
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 appData = QStandardPaths::standardLocations(QStandardPaths::StandardLocation::AppDataLocation)[0];
|
||||||
const QDir gameDir = appData.absoluteFilePath(QStringLiteral("game"));
|
const QDir gameDir = appData.absoluteFilePath(QStringLiteral("game"));
|
||||||
return gameDir.absoluteFilePath(uuid);
|
return gameDir.absoluteFilePath(uuid);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString ProfileManager::getDefaultWinePrefixPath(const QString &uuid)
|
QString ProfileManager::getDefaultWinePrefixPath(const QString &uuid)
|
||||||
|
|
Loading…
Add table
Reference in a new issue