Files
shark/src-tauri/capabilities/default.json
Markury a8f8e4602a feat(settings): add folder selection for music and playlists
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.
2025-09-30 18:58:52 -04:00

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/**/*" }
]
}
]
}