1
0
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:
Bryan Roe
2021-01-14 01:20:13 -08:00
parent 4f06c69ee6
commit 0800c45c12
2 changed files with 2 additions and 1 deletions

View File

@@ -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");
}