mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Fix user path sometimes failing on case-sensitive filesystems.
This commit is contained in:
parent
7cfa2e41a4
commit
5420c69df9
2 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
constexpr const char* version = "0.4.0";
|
||||
constexpr const char* version = "0.4.1";
|
|
@ -54,7 +54,7 @@ LauncherWindow::LauncherWindow(LauncherCore& core, QWidget* parent) : QMainWindo
|
|||
// TODO: don't put this here
|
||||
QString searchDir;
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
|
||||
searchDir = currentProfile().winePrefixPath + "/drive_c/Users";
|
||||
searchDir = currentProfile().winePrefixPath + "/drive_c/users";
|
||||
#else
|
||||
searchDir = "C:/Users";
|
||||
#endif
|
||||
|
@ -71,7 +71,7 @@ LauncherWindow::LauncherWindow(LauncherCore& core, QWidget* parent) : QMainWindo
|
|||
}
|
||||
}
|
||||
|
||||
arguments.push_back({"UserPath", QString(R"(C:\Users\%1\My Documents\My Games\FINAL FANTASY XIV - A Realm Reborn)").arg(userPath)});
|
||||
arguments.push_back({"UserPath", QString(R"(C:\Users\%1\Documents\My Games\FINAL FANTASY XIV - A Realm Reborn)").arg(userPath)});
|
||||
|
||||
const QString argFormat = " /%1 =%2";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue