From 8bf7bc974f6bab8dc42e1b632feec4019c5229bf Mon Sep 17 00:00:00 2001 From: marcomarcogd <35049765+marcomarcogd@users.noreply.github.com> Date: Mon, 21 Sep 2026 11:03:42 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E7=A8=B3=E5=AE=9A=20Windows=20?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BE=9D=E8=B5=96=E4=B8=8E=E7=BB=91=E5=AE=9A?= =?UTF-8?q?=E7=94=9F=E6=88=90=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/Taskfile.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/build/Taskfile.yml b/build/Taskfile.yml index 53c3f164..156f4220 100644 --- a/build/Taskfile.yml +++ b/build/Taskfile.yml @@ -4,6 +4,7 @@ tasks: go:mod:tidy: summary: Runs `go mod tidy` internal: true + run: once sources: - go.mod - go.sum @@ -12,7 +13,13 @@ tasks: install:frontend:deps: summary: Install frontend dependencies + # Frontend tasks can request this task in parallel. Keep one installation + # after Go module maintenance so node_modules is stable while Wails scans + # Go packages for bindings on Windows. + run: once dir: frontend + deps: + - task: go:mod:tidy sources: - package.json - package-lock.json @@ -33,7 +40,6 @@ tasks: generates: - dist/**/* deps: - - task: install:frontend:deps - task: generate:bindings vars: BUILD_FLAGS: @@ -49,7 +55,7 @@ tasks: label: generate:bindings (BUILD_FLAGS={{.BUILD_FLAGS}}) summary: Generates bindings for the frontend deps: - - task: go:mod:tidy + - task: install:frontend:deps sources: - "**/*.[jt]s" - exclude: frontend/**/*