Files
tauri/examples/api/src-tauri/capabilities/run-app.json
Amr Bashir 4c239729c3 fix(core): fix raw invoke body for isolation pattern (#10167)
* fix(core): fix raw invoke body for isolation pattern

The `isolation` pattern requests are made using JSON but the payload could be raw bytes, so we send the original `Content-Type`  from frontend and make sure to deserialize the payload using that one instead of `Content-Type` from request headers

* clippy

* disable plist embed in generate_context in tests

* change file

* docs [skip ci]

* move unused_variables [skip ci]

* last commit regression [skip ci]

* fix test

* add example, do not text encode raw request

* check type instead of contenttype

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-12 09:52:53 -03:00

72 lines
1.9 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "run-app",
"description": "permissions to run the app",
"windows": [
"main",
"main-*"
],
"permissions": [
{
"identifier": "allow-log-operation",
"allow": [
{
"event": "tauri-click"
}
]
},
"allow-perform-request",
"allow-echo",
"app-menu:default",
"sample:allow-ping-scoped",
"sample:global-scope",
"path:default",
"event:default",
"window:default",
"app:default",
"resources:default",
"image:default",
"menu:default",
"tray:default",
"app:allow-app-hide",
"app:allow-app-show",
"window:allow-center",
"window:allow-request-user-attention",
"window:allow-set-resizable",
"window:allow-set-maximizable",
"window:allow-set-minimizable",
"window:allow-set-closable",
"window:allow-set-title",
"window:allow-maximize",
"window:allow-unmaximize",
"window:allow-minimize",
"window:allow-unminimize",
"window:allow-show",
"window:allow-hide",
"window:allow-close",
"window:allow-set-decorations",
"window:allow-set-shadow",
"window:allow-set-effects",
"window:allow-set-always-on-top",
"window:allow-set-always-on-bottom",
"window:allow-set-content-protected",
"window:allow-set-size",
"window:allow-set-min-size",
"window:allow-set-max-size",
"window:allow-set-position",
"window:allow-set-fullscreen",
"window:allow-set-focus",
"window:allow-set-skip-taskbar",
"window:allow-set-cursor-grab",
"window:allow-set-cursor-visible",
"window:allow-set-cursor-icon",
"window:allow-set-cursor-position",
"window:allow-set-ignore-cursor-events",
"window:allow-start-dragging",
"window:allow-set-progress-bar",
"window:allow-set-icon",
"window:allow-toggle-maximize",
"webview:allow-create-webview-window",
"webview:allow-print"
]
}