Skip to content

fix(build): invoke tauri CLI directly with explicit config to target desktop app#220

Merged
GCWing merged 1 commit intomainfrom
gcwing/dev
Mar 22, 2026
Merged

fix(build): invoke tauri CLI directly with explicit config to target desktop app#220
GCWing merged 1 commit intomainfrom
gcwing/dev

Conversation

@GCWing
Copy link
Copy Markdown
Owner

@GCWing GCWing commented Mar 22, 2026

Summary

  • Use absolute path to
    ode_modules/.bin/tauri instead of pnpm exec tauri to avoid pnpm workspace root hijacking Tauri's project discovery
  • Pass --config with absolute path to src/apps/desktop/tauri.conf.json so Tauri always targets the desktop app, not BitFun-Installer
  • Remove ype-check:web from �eforeDevCommand to prevent deadlock where tsc blocks dev server startup while Tauri waits for localhost:1422

Root Cause

PR #219 changed
px tauri dev to pnpm exec tauri dev. When run via pnpm exec, Tauri CLI searches for a src-tauri/ directory from the pnpm workspace root, finding BitFun-Installer/src-tauri/ instead of the main desktop app.

Test plan

  • Run pnpm desktop:dev and verify it starts the main BitFun desktop app, not the installer

@GCWing GCWing merged commit 5e0ff9a into main Mar 22, 2026
1 check passed
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.

1 participant