ci: fix Windows cross-compilation and add cloudsol runner

- Skip native module rebuild for Windows (register-scheme can't cross-compile)
- ELECTRON_BUILDER_SKIP_NATIVE_REBUILD=true for Windows builds

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
sanasol
2026-02-20 01:12:33 +01:00
parent e9e66dbca7
commit 8bdb78d1e2

View File

@@ -40,6 +40,10 @@ jobs:
- run: npm ci - run: npm ci
- name: Build Windows Packages - 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
- name: Upload to Release - name: Upload to Release