Ok I need to determine the system\'s OS from a Lua script, but Lua as such has no API for this, so I use os.getenv() and query enviromental variables. On Windows checking the en
Unixes should have the $HOME variable (while Windows doesn't have that), so you can check it (after checking the OS variable is empty).