From ff7101781b1b682c376d675149f70e81f044cace Mon Sep 17 00:00:00 2001 From: Natsumi Date: Tue, 12 Aug 2025 01:43:15 +1200 Subject: [PATCH] Fix macOS action --- .github/workflows/github_actions.yml | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github_actions.yml b/.github/workflows/github_actions.yml index a6234c4a..34e52390 100644 --- a/.github/workflows/github_actions.yml +++ b/.github/workflows/github_actions.yml @@ -113,7 +113,7 @@ jobs: path: 'build/VRCX_${{ needs.set_version.outputs.version }}.AppImage' build_macos: - runs-on: macos-latest-large + runs-on: macos-latest needs: [set_version, build_dotnet_linux, build_node] steps: @@ -128,9 +128,9 @@ jobs: with: node-version: lts/* - name: Restore dependencies - run: npm ci + run: npm ci --arch=x64 - name: Build Electron-html - run: npm run prod-linux + run: npm run prod-linux --arch=x64 - name: Download Electron dotnet artifacts uses: actions/download-artifact@v4 with: diff --git a/package.json b/package.json index 6dfb96b1..c3c6fa40 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "test:coverage": "jest --coverage", "prod": "cross-env PLATFORM=windows webpack --config webpack.config.js --mode production", "prod-linux": "cross-env PLATFORM=linux webpack --config webpack.config.js --mode production", - "build-electron": "node ./src-electron/download-dotnet-runtime.js && node ./src-electron/patch-package-version.js && electron-builder --publish never", + "build-electron": "node ./src-electron/download-dotnet-runtime.js && node ./src-electron/patch-package-version.js && electron-builder --x64 --publish never", "postbuild-electron": "node ./src-electron/patch-node-api-dotnet.js && node ./src-electron/rename-builds.js", "start-electron": "electron ." },