mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 13:37:09 +00:00
* feat: update to latest wry * wry dev branch [skip ci] * fix linux [skip ci] * refactor(runtime): split webview and window types * split dispatch * implement create_webview * move webview message * wip webview mod * create webview manager, finish webview struct and builder * fix tests and docs * rename WindowUrl to WebviewUrl * update examples * event refactor * update JS API * fix events * update example * add WebviewWindow class on JS * fix macos build * allow creating window+webview on the same runtime call * rename tauri://window-created to tauri://webview-created * Window::add_child * use inner_size from webview on macOS * add multiwebview example * automatically resize webviews on window resize * fix tests * set_position, set_size * position, size getters * set_focus * add close fn * update mock runtime * lint [skip ci] * fix inner_size getter [skip ci] * import hwnd [skip ci] * update webview bound ratios on set_size/set_position * add auto_resize option * fix android * fix build on windows * typo * with_webview isnt desktop only * add WebviewWindow rust struct (and builder) * fix build on android * license header * fix macos/windows * fix macos build * resolve todo * handle window not found * hide unstable features * document unstable feature [skip ci] * webview plugin permissions * hide more stuff * fix doctests * typos * add change files * fix examples * rename hook
89 lines
2.5 KiB
JSON
89 lines
2.5 KiB
JSON
{
|
|
"$schema": "./schemas/desktop-schema.json",
|
|
"identifier": "run-app",
|
|
"description": "permissions to run the app",
|
|
"windows": [
|
|
"main",
|
|
"main-*"
|
|
],
|
|
"permissions": [
|
|
"path:default",
|
|
"event:default",
|
|
"window:default",
|
|
"app:default",
|
|
"resources: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",
|
|
"menu:allow-new",
|
|
"menu:allow-append",
|
|
"menu:allow-prepend",
|
|
"menu:allow-insert",
|
|
"menu:allow-remove",
|
|
"menu:allow-remove-at",
|
|
"menu:allow-items",
|
|
"menu:allow-get",
|
|
"menu:allow-popup",
|
|
"menu:allow-create-default",
|
|
"menu:allow-set-as-app-menu",
|
|
"menu:allow-set-as-window-menu",
|
|
"menu:allow-text",
|
|
"menu:allow-set-text",
|
|
"menu:allow-is-enabled",
|
|
"menu:allow-set-enabled",
|
|
"menu:allow-set-accelerator",
|
|
"menu:allow-set-as-windows-menu-for-nsapp",
|
|
"menu:allow-set-as-help-menu-for-nsapp",
|
|
"menu:allow-is-checked",
|
|
"menu:allow-set-checked",
|
|
"menu:allow-set-icon",
|
|
"tray:allow-new",
|
|
"tray:allow-set-icon",
|
|
"tray:allow-set-menu",
|
|
"tray:allow-set-tooltip",
|
|
"tray:allow-set-title",
|
|
"tray:allow-set-visible",
|
|
"tray:allow-set-temp-dir-path",
|
|
"tray:allow-set-icon-as-template",
|
|
"tray:allow-set-show-menu-on-left-click"
|
|
]
|
|
} |