From 3d907cadf5230a019d6268ac0d2b47116187254b Mon Sep 17 00:00:00 2001 From: ChoiseU Date: Fri, 22 Aug 2025 00:10:29 +0900 Subject: [PATCH] fix: mac sign error complate --- .github/workflows/build_executables.yaml | 6 ++++++ electron-builder.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/workflows/build_executables.yaml b/.github/workflows/build_executables.yaml index 25fc594..724b75f 100644 --- a/.github/workflows/build_executables.yaml +++ b/.github/workflows/build_executables.yaml @@ -47,6 +47,12 @@ jobs: - name: Install dependencies run: npm cache clean --force && npm install + - name: Remove signature from native binaries + if: matrix.os == 'macos-latest' + run: | + codesign --remove-signature resources/mac/qgenie-api || true + codesign --remove-signature resources/mac/qgenie-ai || true + - name: Build the app run: npm run build -- --${{ matrix.os == 'macos-latest' && 'mac' || 'win' }} diff --git a/electron-builder.yml b/electron-builder.yml index ffc77e9..800c387 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -22,6 +22,7 @@ nsis: uninstallDisplayName: ${productName} createDesktopShortcut: always mac: + identity: null category: public.app-category.developer-tools icon: build/icon.icns target: dmg