mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 12:47:44 +00:00
Only enable XL_WINEONLINUX when Wine is actually used
This commit is contained in:
parent
047dbfc1b8
commit
779ae567b8
1 changed files with 3 additions and 0 deletions
|
@ -153,7 +153,10 @@ void LauncherWindow::launchGame(const LoginAuth auth) {
|
|||
auto dalamudProcess = new QProcess();
|
||||
|
||||
QStringList dalamudEnv = gameProcess->environment();
|
||||
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
|
||||
dalamudEnv << "XL_WINEONLINUX=true";
|
||||
#endif
|
||||
|
||||
dalamudProcess->setEnvironment(dalamudEnv);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue