From 8bdb78d1e27891dcac8c01b2738c6187a4f1d80b Mon Sep 17 00:00:00 2001 From: sanasol Date: Fri, 20 Feb 2026 01:12:33 +0100 Subject: [PATCH] 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 --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2c235a..bbfcffe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,10 @@ 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 - name: Upload to Release