Files
shark/src-tauri/capabilities/default.json
Markury d774aba0d4 feat(dz): add cache clearing and database reset functionality
Add ability to fully clear cached online library by deleting and recreating the database file.
Integrate new Clear Cache option in settings UI, which restarts the app after clearing.
Remove unused artist/album fields from cache and UI. Add process plugin for relaunch.
2025-10-02 13:40:13 -04:00

65 lines
1.3 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": [
"main"
],
"permissions": [
"core:default",
"opener:default",
"core:window:default",
"core:window:allow-start-dragging",
"core:window:allow-minimize",
"core:window:allow-toggle-maximize",
"core:window:allow-close",
"store:default",
"dialog:default",
"fs:default",
"fs:allow-write-file",
"fs:allow-mkdir",
"fs:allow-remove",
"fs:allow-rename",
"fs:allow-exists",
{
"identifier": "fs:scope",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "http:default",
"allow": [
{
"url": "http://www.deezer.com/**"
},
{
"url": "https://www.deezer.com/**"
},
{
"url": "https://*.deezer.com/**"
},
{
"url": "http://*.deezer.com/**"
},
{
"url": "https://api.deezer.com/**"
},
{
"url": "https://media.deezer.com/**"
},
{
"url": "https://*.dzcdn.net/**"
},
{
"url": "http://*.dzcdn.net/**"
}
]
},
"sql:default",
"sql:allow-execute",
"process:default"
]
}