openfl / hxp

Write scripts in Haxe, and execute them on Windows, macOS or Linux
MIT License
58 stars 19 forks source link

fix for quirk when running 32bit os with 64bit kernel on raspberryPi #33

Closed gepatto closed 1 year ago

gepatto commented 1 year ago

A while ago, updates to raspberryPi OS install a 64bit kernel on a 32bit OS. That means it always reports back as being a aarch64 Architecture even though the rest of the os is 32bit. This fix uses the getconf command to determine if the os is 32 or 64 bit.