Fix hardcoded database path #7
Labels
No labels
CI/CD
Code Cleanup
DX
UI
UX
bug
chore
duplicate
enhancement
help wanted
invalid
packaging
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
waycasthq/waycast#7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Several pieces of the app that instantiace
WaycastDatause a hard coded path"waycast.db".We need to use waycast_config::data_dir() to put it on the XDG data path in production.
Realistically this is an architecture issue that would be solved by making a central waycast facade that holds the configured underlying pieces like the database and scanners.
However, that might be out of scope for the initial v2 release, so we can come up with an intermediate solution for now.