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:
@@ -0,0 +1,11 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-browser-engine-install-file"
|
||||
description = "Enables the browser_engine_install_file command without any pre-configured scope."
|
||||
commands.allow = ["browser_engine_install_file"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-browser-engine-install-file"
|
||||
description = "Denies the browser_engine_install_file command without any pre-configured scope."
|
||||
commands.deny = ["browser_engine_install_file"]
|
||||
Reference in New Issue
Block a user