Merge pull request #4 from zturtleman/fix_linux

Fix launching ioq3 on Linux
This commit is contained in:
Zachary J. Slater 2014-03-24 13:24:16 -07:00
commit b11ebf35b3

View file

@ -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