-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change save directory to ~/.local/share/pokete, and add migrate.sh to copy the data over #161
Conversation
… copy the data over using ~/.cache is bad because it can be cleared and people delete them sometimes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it was requested here #137, I think it's a good idea to use the $XDG_DATA_HOME
environment variable to determine the save location.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also in that case all mentions of HOME
in pokete.py should be removed, because the savepath now is a absolute path and not relative to ~
anymore. Also the addition of a .bat
script to migrate the windows user may be helpful.
Co-authored-by: lxgr-linux <[email protected]>
Thank you for your contribution. I would just like to have it fully backwards compatible, which means for me no user intervention required. |
Ready for review @MaFeLP |
It's not a great idea to set it to
~/.cache
, because this directory is supposed to be temporary and could be cleared every so often. People also sometimes clear it as it tends to get quite large over time.