From a6aba24d78e9259f3b8d7fa728b107b905fa176a Mon Sep 17 00:00:00 2001 From: plenarius Date: Tue, 21 Apr 2026 13:01:10 -0400 Subject: [PATCH] fix: use electron-builder Wine image, disable code signing - Runner now uses electronuserland/builder:20-wine which has Node 20, Wine, and all build tools pre-installed - Removed manual Wine/Node setup steps from workflow - Disabled Windows code signing (no certificate available) - Simplified workflow to: checkout -> npm ci -> build -> package -> release --- .gitea/workflows/release.yml | 18 +++--------------- electron-builder.yml | 2 ++ 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 79093cc..2ff2aae 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -13,32 +13,20 @@ jobs: with: submodules: true - - uses: actions/setup-node@v4 - with: - node-version: "20" - cache: "npm" - - name: Install dependencies run: npm ci - name: Build backend + frontend + electron run: npm run build:all - - name: Install system dependencies - run: | - dpkg --add-architecture i386 - apt-get update - apt-get install -y --no-install-recommends wine64 wine32 fakeroot rpm - - name: Build Linux AppImage run: npx electron-builder --linux --publish never - name: Build Windows Installer + run: npx electron-builder --win --publish never env: - WINEDEBUG: "-all" - run: | - wine64 --version || wine --version || echo "wine check" - npx electron-builder --win --publish never + WIN_CSC_LINK: "" + WIN_CSC_KEY_PASSWORD: "" - name: Create Gitea Release and upload assets run: | diff --git a/electron-builder.yml b/electron-builder.yml index 51e7064..185cacc 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -29,6 +29,8 @@ asar: true win: target: nsis icon: assets/icon.ico + sign: false + signingHashAlgorithms: null nsis: oneClick: false allowToChangeInstallationDirectory: true