We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ebbd06 commit aec923cCopy full SHA for aec923c
1 file changed
TheForceEngine/TFE_FileSystem/paths-posix.cpp
@@ -183,7 +183,11 @@ namespace TFE_Paths
183
{
184
char p[TFE_MAX_PATH];
185
memset(p, 0, TFE_MAX_PATH);
186
+#ifdef __APPLE__
187
+ FileUtil::getExecutionDirectory(p);
188
+#else
189
FileUtil::getCurrentDirectory(p);
190
+#endif
191
s_paths[PATH_PROGRAM] = p;
192
s_paths[PATH_PROGRAM] += "/";
193
return true;
0 commit comments