migrate database paths to XDG user data directory #1
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AmanoTeam/Papo!1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/fix-data-location"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
summary:
motivation:
database paths were previously baked in at compile time via PKGDATADIR, tying them to the install prefix. this meant dev builds wrote to /home/user/.local/share/papo/ regardless of actual XDG config, and the paths couldn't adapt to different environments at runtime. using glib::user_data_dir() resolves this by respecting the user's XDG data directory.
7f76a4c893e8e72b9ebd