fix: unify data paths to use qbz instead of qbz-nix

Changes all application data paths from qbz-nix to qbz:
- Cache directory: ~/.cache/qbz-nix -> ~/.cache/qbz
- Config directory: ~/.config/qbz-nix -> ~/.config/qbz
- Data directory: ~/.local/share/qbz-nix -> ~/.local/share/qbz

This fixes path inconsistencies between development and production builds
and resolves asset protocol permission issues with downloaded album artwork.

cp
This commit is contained in:
vicrodh committed 2026-01-14 23:49:30 -06:00
1 parent 94e26cd593
commit 5f725195c2
9 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ impl SessionStore {
pub fn new() -> Result<Self, String> {
let data_dir = dirs::data_dir()
.ok_or("Could not determine data directory")?
.join("qbz-nix");
.join("qbz");
std::fs::create_dir_all(&data_dir)
.map_err(|e| format!("Failed to create data directory: {}", e))?;