Download, verify, and install the browser engine
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.
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
"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",
|
||||
|
||||
@@ -27,6 +27,11 @@
|
||||
"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-git-status",
|
||||
"allow-git-diff",
|
||||
"allow-git-stage",
|
||||
|
||||
@@ -35,6 +35,11 @@
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user