diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6342057..6a9fd1d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,10 +26,6 @@ jobs: NODE_ARCHITECTURE: x64 ELECTRON_ARGS: --x64 - # - os: windows-latest - # NODE_ARCHITECTURE: x86 - # ELECTRON_ARGS: --ia32 - steps: - name: Check out Git repository uses: actions/checkout@v1 @@ -40,13 +36,6 @@ jobs: node-version: 18 architecture: ${{matrix.NODE_ARCHITECTURE}} - # - name: Prepare for app notarization - # if: startsWith(matrix.os, 'macos') - # # Import Apple API key for app notarization on macOS - # run: | - # mkdir -p ~/private_keys/ - # echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8 - - name: Build & Release app uses: CryogenicPlanet/action-electron-builder@v2 with: @@ -62,12 +51,9 @@ jobs: # release the app after building release: true env: - # API_KEY_ID: ${{ secrets.api_key_id }} - # API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }} NODE_ARCHITECTURE: ${{matrix.NODE_ARCHITECTURE}} USE_HARD_LINKS: false # macOS notarization envs - # APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} diff --git a/package.json b/package.json index d51dbf6d..644a5087 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,15 @@ "icon": "./resources/build/icon.icns", "notarize": { "teamId": "9D8F4J769D" - } + }, + "target": [ + { + "target": "dmg", + "arch": [ + "universal" + ] + } + ] }, "dmg": { "artifactName": "${productName}-${os}-x64-${version}.${ext}",