feat: update capabilities and add clipboard image reading functionality for Linux

- Updated capabilities.json to allow opening shell commands.
- Implemented read_clipboard_image function for Linux using arboard to read images from the clipboard and encode them as base64 PNG.
- Added a stub for read_clipboard_image on non-Linux platforms.
- Registered the new command in the Tauri application.
This commit is contained in:
2026-01-25 11:31:54 +11:00
parent eaa8e3949a
commit 6cabc01f77
7 changed files with 411 additions and 10 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"default":{"identifier":"default","description":"Default capability for all windows","local":true,"windows":["*"],"permissions":["core:default","shell:default","notification:default"]}}
{"default":{"identifier":"default","description":"Default capability for all windows","local":true,"windows":["*"],"permissions":["core:default","shell:allow-open","notification:default"]}}