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.
32 lines
923 B
JSON
32 lines
923 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "browser",
|
|
"description": "Browser windows. They run only the built-in browser and never load installed plugins.",
|
|
"windows": [
|
|
"browser-*"
|
|
],
|
|
"permissions": [
|
|
"allow-browser-request",
|
|
"allow-browser-connect",
|
|
"allow-browser-stop",
|
|
"allow-browser-engine-status",
|
|
"allow-browser-engine-install",
|
|
"allow-browser-engine-cancel",
|
|
"allow-plugins-snapshot",
|
|
"allow-settings-read",
|
|
"allow-window-snap-layouts",
|
|
"allow-settings-write",
|
|
"allow-settings-migrate",
|
|
"allow-spelling-menu-install",
|
|
"allow-spelling-menu-uninstall",
|
|
"allow-spelling-menu-select",
|
|
"allow-spelling-suggestions",
|
|
"core:default",
|
|
"core:window:allow-destroy",
|
|
"core:window:allow-close",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-toggle-maximize",
|
|
"core:window:allow-start-dragging"
|
|
]
|
|
}
|