From 8184e9dd1d9c0a391ad7cb44dc6905850459891d Mon Sep 17 00:00:00 2001 From: morishin Date: Fri, 18 Oct 2024 10:16:04 +0900 Subject: [PATCH] Use x64 arch --- package.json | 2 +- scripts/notarize.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fe9861a..54152df 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "lint:tsc": "tsc --noEmit", "lint:prettier": "prettier --list-different \"./**/*.{js,jsx,ts,tsx,css,json}\"", "format": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,json}\"", - "release:prepare": "webpack --env BUILD_ENV=production --mode=production && electron-builder build --publish always", + "release:prepare": "webpack --env BUILD_ENV=production --mode=production && electron-builder build --x64 --publish always", "ci": "yarn run lint && yarn run test:unit" }, "dependencies": { diff --git a/scripts/notarize.js b/scripts/notarize.js index d1dfc65..c290b0a 100644 --- a/scripts/notarize.js +++ b/scripts/notarize.js @@ -7,7 +7,7 @@ module.exports = async function () { return; } - const appPath = path.resolve(__dirname, "../dist/production/mac-arm64/Bdash.app"); + const appPath = path.resolve(__dirname, "../dist/production/mac/Bdash.app"); if (!fs.existsSync(appPath)) { throw new Error(`Cannot find application at: ${appPath}`);