mirror of
https://github.com/ioquake/launch.git
synced 2025-04-20 05:50:49 +00:00
Merge pull request #4 from zturtleman/fix_linux
Fix launching ioq3 on Linux
This commit is contained in:
commit
b11ebf35b3
1 changed files with 4 additions and 3 deletions
|
@ -27,11 +27,12 @@ void ioLaunch::on_btnLaunch_clicked()
|
|||
path.replace(" ", "\" \"");
|
||||
ioq3 = path + "\\ioquake3.x86.exe +set r_mode -1";
|
||||
}
|
||||
|
||||
#elif defined Q_OS_X11
|
||||
ioq3 = "ioquake3 +set r_mode -1";
|
||||
#elif defined Q_OS_MAC
|
||||
ioq3 = "open -a ioquake3 --args +set r_mode -1";
|
||||
#elif defined Q_OS_UNIX
|
||||
ioq3 = "ioquake3 +set r_mode -1";
|
||||
#else
|
||||
#error "Unsupported platform"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue