diff --git a/.github/workflows/distribution.yml b/.github/workflows/distribution.yml index ef3eedd..75d6821 100644 --- a/.github/workflows/distribution.yml +++ b/.github/workflows/distribution.yml @@ -36,6 +36,8 @@ jobs: - name: Build Electron app run: pnpm run build-electron + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish to release run: gh release ${{github.event.release.tag_name}} upload dist-electron/SkywardaiChat-* diff --git a/electron-builder.yml b/electron-builder.yml index df3d465..63c9ed4 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -13,18 +13,15 @@ files: win: target: - nsis # Windows installer type, you can use zip, nsis, etc. - icon: assets/icon.png mac: target: - dmg # macOS installer type - icon: assets/icon.png linux: target: - AppImage # - deb # You can also specify 'deb', 'rpm', etc. - icon: assets/icon.png nsis: oneClick: true # Whether the installer is one-click