Skip to content

fix(build): restore linux bundle target in fast parallel build#279

Merged
Harry19081 merged 1 commit into
org2AI:developfrom
chsimonpan:pr/linux-fast-build
Jul 8, 2026
Merged

fix(build): restore linux bundle target in fast parallel build#279
Harry19081 merged 1 commit into
org2AI:developfrom
chsimonpan:pr/linux-fast-build

Conversation

@chsimonpan

Copy link
Copy Markdown
Contributor

Fixes #278.

scripts/tauri/build-fast-parallel.cjs selects the bundle target with a darwin/else branch, sending nsis to tauri on Linux where only deb/rpm/appimage are valid — so pnpm run tauri:build:fast exits with code 2 on every Linux machine.

This PR keeps the darwin (app) and win32 (nsis) behavior and falls back to deb for Linux/other platforms.

Verified on Ubuntu 22.04: full fast build completes, ORG2_1.1.12_amd64.deb bundle produced.

[build-fast-parallel] Phase 2: tauri bundle (assemble only)
    Finished 1 bundle at: .../target/dev-build/bundle/deb/ORG2_1.1.12_amd64.deb
[build-fast-parallel] Total: 207.3s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(build): pnpm run tauri:build:fast fails on Linux — nsis is not a valid bundle target

2 participants