mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 15:53:55 +00:00
1. Fixed bug in linux os.arch()
2. Added MeshAgent.ARCHID
This commit is contained in:
@@ -1677,7 +1677,7 @@ duk_ret_t ILibDuktape_ScriptContainer_OS_arch(duk_context *ctx)
|
||||
duk_push_string(ctx, "x64");
|
||||
#endif
|
||||
}
|
||||
if (strcmp(u.machine, "arm64") == 0)
|
||||
else if (strcmp(u.machine, "arm64") == 0)
|
||||
{
|
||||
duk_push_string(ctx, "arm64");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user