Fixed the config path and made it cross-platform (the $HOME environment variable was blank because it's a user-wide variable and the code retrieved a system-wide variable, which doesn't exist)
Changed the default config directory path from $HOME/.lazyfivem to %APPDATA%\lazyfivem on Windows and $XDG_CONFIG_HOME/lazyfivem on Unix. Read more
Added the ability to set a custom config directory path via LAZYFIVEM_CONFIG_HOME
Clarified a few things in the README.
Fixed the config path and made it cross-platform (the
$HOME
environment variable was blank because it's a user-wide variable and the code retrieved a system-wide variable, which doesn't exist)Changed the default config directory path from
$HOME/.lazyfivem
to%APPDATA%\lazyfivem
on Windows and$XDG_CONFIG_HOME/lazyfivem
on Unix. Read moreAdded the ability to set a custom config directory path via
LAZYFIVEM_CONFIG_HOME