Changing login name prevents Airshipper from working
Describe the bug
After I changed my login name, Airshipper could no longer download and run Veloren.
To Reproduce Steps to reproduce the behavior:
- log in as root
- mv /home/oldname /home/newname
- chown -r newname /home/newname
- finally, update your home directory in /etc/passwd
Expected behavior
I'd expect Airshipper to continue to work, or at least complain about being unable to find the download destination directory. Instead, when I try to update, it says only, Error occurred. Give it a retry.
Desktop (please complete the following information):
- OS: MacOS
- GPU: AMD Radeon Pro 5500M 4 GB
Additional context It's due to the absolute paths stored in these .ron files:
airshipper_state.ron: active_profile.defaultprofiles/default/userdata/voxygen/settings.ron: log.logspath, screenshots_path
When I update them, Airshipper works normally again.
Quickly glancing through other apps storing data in ~/Library/Application Support, VS Code uses two conventions: ~/path and %APP_SETTINGS_HOME%/path. The other apps seem to avoid storing absolute paths in their application support and preferences files at all.
Hopefully fixed by #158 to be included in the 0.4.3 release.