fix: Last.fm scrobbling and LocalLibrary cover art

- Restore Last.fm session on app startup (not just when visiting Settings)
- Fix LocalLibrary artwork: use asset://localhost/ instead of file://
- Add fs:allow-read capability for asset protocol
- Enable assetProtocol in tauri.conf.json
This commit is contained in:
vicrodh committed 2026-01-10 03:36:31 -06:00
1 parent 2bf9856179
commit 762df3e122
9 files changed
+43 -3

No files matched your search

+11 -1
View File
@@ -8,6 +8,16 @@
"opener:default",
"dialog:default",
"clipboard-manager:default",
"clipboard-manager:allow-write-text"
"clipboard-manager:allow-write-text",
"fs:default",
{
"identifier": "fs:allow-read",
"allow": [
{ "path": "$HOME/**" },
{ "path": "$CACHE/**" },
{ "path": "$CONFIG/**" },
{ "path": "/**" }
]
}
]
}
+5 -1
View File
@@ -23,7 +23,11 @@
}
],
"security": {
"csp": null
"csp": null,
"assetProtocol": {
"enable": true,
"scope": ["**"]
}
}
},
"bundle": {