diff --git a/src/hxp/System.hx b/src/hxp/System.hx index 303a1d7..67143da 100644 --- a/src/hxp/System.hx +++ b/src/hxp/System.hx @@ -1426,6 +1426,10 @@ class System { _hostArchitecture = ARM64; } + else if (architecture.indexOf("ARMV7") > -1) + { + _hostArchitecture = ARMV7; + } else if (architecture.indexOf("64") > -1 || wow64Architecture != null && wow64Architecture.indexOf("64") > -1) { _hostArchitecture = X64; @@ -1466,7 +1470,7 @@ class System { _hostArchitecture = ARMV7; } - else if (output.indexOf("arm64") > -1 || output.indexOf("aarch64") > -1) + else if (output.indexOf("arm64") > -1 || output.indexOf("aarch64") > -1 || output.indexOf("armv8l") > -1) { var getconfProcess = new Process("getconf", ["LONG_BIT"]); var getconfOutput = getconfProcess.stdout.readAll().toString();