1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

macOS: always change working directory for launcher and server

This make relative paths work properly when launched from DMG or from different directory.
This commit is contained in:
Arseniy Shestakov
2017-08-09 01:09:29 +03:00
parent cb40c093f8
commit 21074e13c3
5 changed files with 14 additions and 4 deletions

View File

@@ -12,7 +12,7 @@
#include "CVcmiTestConfig.h"
#include "../lib/filesystem/CMemoryBuffer.h"
int main(int argc, char ** argv)
int main(int argc, char * argv[])
{
::testing::InitGoogleTest(&argc, argv);
CVcmiTestConfig test;