Android applications spawn through a common executable.

/proc/self/exe -> /system/bin/app_process64
This commit is contained in:
Bartosz Taudul 2021-02-01 15:24:31 +01:00
parent 53505373c7
commit 253c3ae4c8

View File

@ -286,6 +286,8 @@ static const char* GetProcessExecutablePath()
static char buf[_MAX_PATH];
GetModuleFileNameA( nullptr, buf, _MAX_PATH );
return buf;
#elif defined __ANDROID__
return nullptr;
#elif defined _GNU_SOURCE || defined __CYGWIN__
return program_invocation_name;
#elif defined __APPLE__