1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-23 19:53:47 +00:00

Fixed issue related to Apple Silicon

This commit is contained in:
Bryan Roe
2020-12-07 18:00:17 -08:00
parent 462fa965ae
commit dfaf7909b3
2 changed files with 3 additions and 3 deletions

View File

@@ -5486,7 +5486,7 @@ int MeshAgent_Start(MeshAgentHostContainer *agentHost, int paramLen, char **para
WideCharToMultiByte(CP_UTF8, 0, (LPCWCH)tmpExePath, -1, (LPSTR)exePath, (int)ILibMemory_Size(exePath), NULL, NULL);
#elif defined(__APPLE__)
if (_NSGetExecutablePath(exePath, &len) != 0) ILIBCRITICALEXIT(247);
exePath[(int)len] = 0;
agentHost->exePath = exePath;
#elif defined(NACL)
#else