Each host build pins one engine version in src-tauri/browser-engine.json. The new engine manager downloads that ZIP over HTTPS, makes sure that its size and SHA-256 match the pin, extracts it safely to the local app data folder, and marks the installation last. It can also install a local ZIP, cancel, report progress, and remove the engine. The host refuses an engine that sends another protocol with its ready event.
61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "settings",
|
|
"description": "Settings windows and their plugin settings",
|
|
"windows": [
|
|
"settings-main",
|
|
"settings-workspace-*"
|
|
],
|
|
"permissions": [
|
|
"allow-theme-export",
|
|
"allow-settings-read",
|
|
"allow-window-snap-layouts",
|
|
"allow-settings-write",
|
|
"allow-settings-migrate",
|
|
"core:default",
|
|
"core:window:allow-close",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-toggle-maximize",
|
|
"core:window:allow-start-dragging",
|
|
"dialog:default",
|
|
"allow-plugins-snapshot",
|
|
"allow-plugins-choose",
|
|
"allow-plugins-from-git",
|
|
"allow-plugins-cancel",
|
|
"allow-plugins-install",
|
|
"allow-plugins-set-enabled",
|
|
"allow-plugins-load",
|
|
"allow-plugins-release",
|
|
"allow-plugins-prepare-remove",
|
|
"allow-plugins-remove",
|
|
"allow-plugins-retry-remove",
|
|
"allow-plugins-reveal",
|
|
"allow-plugins-data",
|
|
"allow-plugins-asset",
|
|
"allow-browser-request",
|
|
"allow-browser-connect",
|
|
"allow-browser-stop",
|
|
"allow-browser-engine-status",
|
|
"allow-browser-engine-install",
|
|
"allow-browser-engine-install-file",
|
|
"allow-browser-engine-cancel",
|
|
"allow-browser-engine-remove",
|
|
"allow-completion-request",
|
|
"allow-completion-cancel",
|
|
"allow-backgrounds-choose-folder",
|
|
"allow-backgrounds-default-folder",
|
|
"allow-backgrounds-list",
|
|
"allow-backgrounds-read",
|
|
"allow-backgrounds-read-image-settings",
|
|
"allow-backgrounds-write-image-settings",
|
|
"allow-folders-choose",
|
|
"allow-folders-picture",
|
|
"allow-folders-grants",
|
|
"allow-folders-revoke",
|
|
"allow-folders-list",
|
|
"allow-folders-read",
|
|
"allow-folders-read-sidecar",
|
|
"allow-folders-write-sidecar"
|
|
]
|
|
}
|