From bbb2211c8e6569ae533b2db68d19f0a05d26128d Mon Sep 17 00:00:00 2001 From: jack Date: Mon, 22 Jun 2026 01:08:18 +0800 Subject: [PATCH] fix(desktop): point beforeBuildCommand at the root Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Tauri `beforeBuildCommand` ran `make build-web`, but the desktop bundle step runs from `desktop/` (working-directory: desktop) where there is no Makefile — the `build-web` target lives in the repo root. The v0.6.2 release failed with "make: *** No rule to make target `build-web'". Use `make -C ..` so the root target resolves from the desktop dir, in both CI and local `make desktop-build`. Co-Authored-By: Claude Opus 4.8 --- desktop/src-tauri/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src-tauri/tauri.conf.json b/desktop/src-tauri/tauri.conf.json index 268bdda..405d863 100644 --- a/desktop/src-tauri/tauri.conf.json +++ b/desktop/src-tauri/tauri.conf.json @@ -7,7 +7,7 @@ "frontendDist": "../../internal/web/dist", "beforeDevCommand": "pnpm --dir ../web dev", "devUrl": "http://localhost:5173", - "beforeBuildCommand": "make build-web" + "beforeBuildCommand": "make -C .. build-web" }, "app": { "withGlobalTauri": true,