1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

Launcher: small fix for mac

This commit is contained in:
Nikolay Kasyanov 2011-06-26 01:35:46 +04:00
parent db20186e50
commit d2a0d3dd67

View file

@ -210,6 +210,10 @@ void MainDialog::play()
#ifdef Q_WS_WIN
QString game = "./openmw.exe";
QFile file(game);
#elif defined(Q_WS_MAC)
QDir dir(QCoreApplication::applicationDirPath());
QString game = dir.absoluteFilePath("openmw");
QFile file(game);
#else
QString game = "./openmw";
QFile file(game);