mirror of
https://github.com/markuryy/shark.git
synced 2025-12-12 19:51:01 +00:00
Add UI and logic to select music and playlists folders in settings using tauri dialog plugin. Integrate @tauri-apps/plugin-dialog, plugin-fs, and plugin-store in both frontend and backend. Update capabilities and dependencies to support new plugins. Improve settings page with folder selectors and info note for better user experience.
26 lines
594 B
JSON
26 lines
594 B
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",
|
|
{
|
|
"identifier": "fs:scope",
|
|
"allow": [
|
|
{ "path": "$HOME/**/*" },
|
|
{ "path": "$APPDATA/**/*" }
|
|
]
|
|
}
|
|
]
|
|
}
|