From ec020d28487a5789869807bca7836321bd0a5cab Mon Sep 17 00:00:00 2001 From: N0VAN0M4LY <224130499+N0VAN0M4LY@users.noreply.github.com> Date: Tue, 1 Dec 2026 20:46:24 +0800 Subject: [PATCH] fix(repo): download the Electron runtime before packaging electron 43 ships without a postinstall script, so npm ci leaves node_modules/electron/dist empty. Install the binary explicitly, matching the documented local build. --- .github/workflows/launcher-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/launcher-release.yml b/.github/workflows/launcher-release.yml index 8b0ba52..860e670 100644 --- a/.github/workflows/launcher-release.yml +++ b/.github/workflows/launcher-release.yml @@ -42,9 +42,12 @@ jobs: node-version: 24 cache: npm - - name: Install dependencies (downloads the Electron runtime) + - name: Install dependencies run: npm ci + - name: Download the Electron runtime + run: node node_modules/electron/install.js + - name: Resolve and verify the version run: | if [ "${{ github.event_name }}" = 'workflow_dispatch' ]; then