- 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.
12 lines
251 B
JSON
12 lines
251 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Default capability for all windows",
|
|
"windows": ["*"],
|
|
"permissions": [
|
|
"core:default",
|
|
"shell:allow-open",
|
|
"notification:default"
|
|
]
|
|
}
|