How to get the home directory in Lua (on GNU/Linux system)?
It's the same thing that I get when I type echo $HOME
in shell.
os.getenv( "HOME" )
should be what you're looking for.
See the docs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With