mirror of
https://github.com/markuryy/shark.git
synced 2025-12-12 19:51:01 +00:00
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.
65 lines
1.3 KiB
JSON
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"
|
|
]
|
|
} |