openfl / hxp

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

Detect platform, where script is execute #16

Closed CrazyFlasher closed 4 years ago

CrazyFlasher commented 4 years ago

I wan't to detect platform at run time of the script (Windows, Mac, Linux, etc). Is it possible?

CrazyFlasher commented 4 years ago
Sys.systemName();