diff --git a/electron-builder.yml b/electron-builder.yml index 3f15def..b0fc838 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 a8624d7..d1dfc65 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}`);