mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
9dec9605ed
* feat(clipboard): support `read_image` & `write_image` * fix plugin name * platform specific bahavior * remove unnecessary BufWriter * improvement * update example * update example * format * header, fix change file * use image from tauri * fix ci * update tauri, fix read * image crate only on desktop [skip ci] * Update plugins/authenticator/src/u2f_crate/protocol.rs [skip ci] Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> * Update plugins/authenticator/src/u2f_crate/protocol.rs [skip ci] Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> * update deps, address code review * fix mobile [skip ci] --------- Co-authored-by: Lucas Nogueira <lucas@tauri.studio> Co-authored-by: Lucas Nogueira <lucas@tauri.app> Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
83 lines
1.7 KiB
JSON
83 lines
1.7 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "run-app-base",
|
|
"description": "Base permissions to run the app",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"log:default",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{
|
|
"url": "http://localhost:3003"
|
|
}
|
|
]
|
|
},
|
|
"app:default",
|
|
"resources:default",
|
|
"fs:default",
|
|
"menu:default",
|
|
"path:default",
|
|
"tray:default",
|
|
"event:default",
|
|
"window:default",
|
|
"image:default",
|
|
"notification:default",
|
|
"os:allow-platform",
|
|
"dialog:allow-open",
|
|
"dialog:allow-save",
|
|
"dialog:allow-confirm",
|
|
"dialog:allow-message",
|
|
{
|
|
"identifier": "shell:allow-execute",
|
|
"allow": [
|
|
{
|
|
"name": "sh",
|
|
"cmd": "sh",
|
|
"args": [
|
|
"-c",
|
|
{
|
|
"validator": "\\S+"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "cmd",
|
|
"cmd": "cmd",
|
|
"args": [
|
|
"/C",
|
|
{
|
|
"validator": "\\S+"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"shell:allow-kill",
|
|
"shell:allow-stdin-write",
|
|
"clipboard-manager:allow-read-text",
|
|
"clipboard-manager:allow-write-text",
|
|
"clipboard-manager:allow-read-image",
|
|
"clipboard-manager:allow-write-image",
|
|
"fs:allow-rename",
|
|
"fs:allow-mkdir",
|
|
"fs:allow-remove",
|
|
"fs:allow-write-text-file",
|
|
"fs:scope-download-recursive",
|
|
"fs:scope-resource-recursive",
|
|
{
|
|
"identifier": "fs:scope-appdata-recursive",
|
|
"allow": [
|
|
{
|
|
"path": "$APPDATA/db/**"
|
|
}
|
|
],
|
|
"deny": [
|
|
{
|
|
"path": "$APPDATA/db/*.stronghold"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|