From e424b54a55ad53f851014c56ec7e3e4b9e18f3ed Mon Sep 17 00:00:00 2001 From: morishin Date: Fri, 14 Jun 2024 13:41:24 +0900 Subject: [PATCH] Use arm64 --- electron-builder.yml | 5 ++--- scripts/notarize.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/electron-builder.yml b/electron-builder.yml index 3f15def3..b0fc8388 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -32,12 +32,11 @@ win: - nsis mac: - singleArchFiles: "*" target: - target: dmg - arch: universal + arch: arm64 - target: zip - arch: universal + arch: arm64 category: public.app-category.developer-tools hardenedRuntime: true entitlements: ./build/entitlement.plist diff --git a/scripts/notarize.js b/scripts/notarize.js index a8624d7a..d1dfc659 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-universal/Bdash.app"); + const appPath = path.resolve(__dirname, "../dist/production/mac-arm64/Bdash.app"); if (!fs.existsSync(appPath)) { throw new Error(`Cannot find application at: ${appPath}`);