Uebergame
Uebergame copied to clipboard
Different home folder for settings for Linux users.
The settings are saved in user home/my games/uebergame but for Linux the standards for saving config files are different, so we would need a script to detect if the user is on Linux and then change the folder. I don't know currently what folders Linux uses for the settings, I think it was something with a point before it to hide it like ".uebergame", but this would require further investigations first.
Best would be to follow the XDG Basedir Specifications
This means that you should use $XDG_CONFIG_HOME/uebergame/
, or $HOME/.config/uebergame
if it $XDG_CONFIG_HOME
isn't set or is empty.
Screenshots, logs etc. are data and should go in $XDG_DATA_HOME/uebergame
with $HOME/.local/share/uebergame
as default.
Can you code that and make a pull request?