Ship the browser engine as its own release file
The installer no longer bundles the engine, and the installer script stops when the bundle names it or when the setup file is over 30 MB. pnpm build:browser-engine packages the engine, writes a deterministic ZIP and its record to releases/browser-engine/<version>/, and pins the ZIP in the host. The installer hooks remove the engine folder that 0.1.48 leaves behind, and uninstall removes the downloaded engine.
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
fn main() {
|
||||
// tauri-build requires every bundle resource to exist. `pnpm browser:stage` fills this
|
||||
// folder for installers. An empty folder lets `cargo test` and `tauri dev` run without it.
|
||||
std::fs::create_dir_all("browser-engine").expect("failed to create browser-engine");
|
||||
tauri_build::try_build(
|
||||
tauri_build::Attributes::new().app_manifest(
|
||||
tauri_build::AppManifest::new().commands(&[
|
||||
|
||||
Reference in New Issue
Block a user