diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index eb8930b..c683acd 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -37,6 +37,9 @@ jobs: - name: Install dependencies run: npm ci + - name: Rebuild native modules for Electron + run: npx @electron/rebuild + - name: Publish Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 9d82474..8ff03ca 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "@electron-forge/publisher-github": "^7.10.2", "@electron-forge/shared-types": "^7.8.1", "@electron/fuses": "~1.8.0", + "@electron/rebuild": "^3.7.1", "@eslint/compat": "^1.4.1", "@eslint/js": "^9.39.0", "@playwright/test": "^1.56.1",