fix(repo): download the Electron runtime before packaging
Launcher release / release (push) Waiting to run

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.
This commit is contained in:
N0VAN0M4LY committed 2026-12-01 20:46:24 +08:00
1 parent 6d232f14e6
commit ec020d2848
1 file changed
+4 -1
+4 -1
View File
@@ -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