Skip to content
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

Separate data directory from executable #101

Open
AriaMoradi opened this issue Mar 16, 2023 · 1 comment
Open

Separate data directory from executable #101

AriaMoradi opened this issue Mar 16, 2023 · 1 comment

Comments

@AriaMoradi
Copy link
Collaborator

AriaMoradi commented Mar 16, 2023

On linux you usually install executables in readonly directories i.e. /usr/bin and keep the data separate per user so in /home/username/.

On top of that usually data files and config files are not stored directly in the user directory and are kept separate according to the XDG standard.

To handle this issue this change can be done to the app

  • Store the Catapult executable anywhere but at /usr/bin/catapult by default
  • Store the data at $XDG_DATA_HOME/Catapult

This will also open the door for flatpak packaging.

@qrrk
Copy link
Owner

qrrk commented Mar 16, 2023

Related to: #1, #29, #46.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants