mirror of
https://git.sanhost.net/sanasol/hytale-f2p.git
synced 2026-02-26 14:51:48 -03:00
fix: disable npmRebuild for Windows cross-compilation
ELECTRON_BUILDER_SKIP_NATIVE_REBUILD env var not recognized by electron-builder 26.6.0. Use --config.npmRebuild=false CLI flag to skip register-scheme native module rebuild. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -46,11 +46,7 @@ jobs:
|
||||
- run: npm ci
|
||||
|
||||
- name: Build Windows Packages
|
||||
env:
|
||||
# Skip native module rebuild - register-scheme can't cross-compile
|
||||
# It's only used by NSIS installer for URL protocol registration
|
||||
ELECTRON_BUILDER_SKIP_NATIVE_REBUILD: "true"
|
||||
run: npx electron-builder --win --publish never
|
||||
run: npx electron-builder --win --publish never --config.npmRebuild=false
|
||||
|
||||
- name: Upload to Release
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user