nexuslua
Loading...
Searching...
No Matches
userdatadir

The nexuslua function userdatadir returns the path to the user's app data folder, i. e.

  • $HOME/.local/share/ under Linux,
  • $HOME/Library/Application Support/ under Darwin
  • %USERPROFILE%\ under Windows.

Example under Windows

print(userdatadir()) -- C:\Users\zippr\AppData\Roaming\