diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cf7b611443..84be9cd108 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -470,22 +470,22 @@ jobs: echo "Building $APP_VERSION-$HASH" npm run build-macos - # arm64 - - name: Set arm64 MAX artifact name - run: echo "ARTIFACT_ARM64=$(echo "$APP_NAME-macos-arm64-$APP_VERSION-MAX-$HASH.dmg")" >> $GITHUB_ENV + # x64 + - name: Set x64 MAX artifact name + run: echo "ARTIFACT_X64=$(echo "$APP_NAME-macos-x64-$APP_VERSION-MAX-$HASH.dmg")" >> $GITHUB_ENV - - name: Set arm64 LITE artifact name + - name: Set x64 LITE artifact name if: ${{ env.TRIM == '1' }} - run: echo "ARTIFACT_ARM64=$(echo "$APP_NAME-macos-arm64-$APP_VERSION-LITE-$HASH.dmg")" >> $GITHUB_ENV + run: echo "ARTIFACT_X64=$(echo "$APP_NAME-macos-x64-$APP_VERSION-LITE-$HASH.dmg")" >> $GITHUB_ENV - - name: bundle arm64 macOS - run: ./node_modules/.bin/gulp release-macos-arm64 --out=artifacts/arm64/$ARTIFACT_ARM64 + - name: bundle x64 macOS + run: ./node_modules/.bin/gulp release-macos --out=artifacts/x64/$ARTIFACT_X64 - uses: actions/upload-artifact@v4 - name: Upload arm64 artifacts + name: Upload x64 artifacts with: - name: ${{ env.ARTIFACT_ARM64 }} - path: artifacts/arm64/ + name: ${{ env.ARTIFACT_X64 }} + path: artifacts/x64/ # universal build - name: Set universal MAX artifact name diff --git a/package.json b/package.json index f5a3a138c2..ed817562e8 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "electronite-start": "electronite . ", "electronite-start-logging": "electronite . --enable-logging", "electronite-build": "electronite-packager ./build --out=dist --icon=src/images/icon.icns", - "electronite-build-macos": "electronite-packager ./build --out=dist --arch=universal,arm64 --icon=src/images/icon.icns", + "electronite-build-macos": "electronite-packager ./build --out=dist --arch=universal,x64 --icon=src/images/icon.icns", "electronite-build-linux": "electronite-packager ./build --out=dist --arch=x64,arm64 --icon=src/images/icon.icns", "electronite-build-win": "electronite-packager ./build --out=dist --arch=ia32,x64 --icon=src/images/icon.ico", "react-start": "craco start",