Testing them now with sys.get_save_file(“appname”, “filename”)
Windows
%appdata%\Roaming\appname\filename
OS X
~/Library/Application Support/appname/filename
Linux
~/.appname/filename
BAD! This should be placed under ~/.config/appname/filename
It’s my understanding Linux users prefer this, to keep their user folder less cluttered. Solution is to maybe detect Linux target and set the “appname” part to “config/appname” if that’s possible? Edit: tested this to make sure for anyone who cares and it appears to work fine to save in ~/.config/appname/filename instead of the default dir.
iOS
/var/mobile/Containers/Data/Application/{app-uid?}/Library/Application Support/appname/filename
Android
/data/data/com.packagename/files/filename
So the first field is ignored? That’s somewhat understandable based on the inclusion of the package name in the path, but it’s inconsistent compared to others… but probably too late to change now.
HTML5
/data/.appname/filename