diff --git a/electron-builder.yml b/electron-builder.yml index 7e3611a7..b7702441 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -33,8 +33,10 @@ win: mac: target: - - zip - - dmg + - target: dmg + arch: universal + - target: zip + arch: universal category: public.app-category.developer-tools hardenedRuntime: true entitlements: ./build/entitlement.plist diff --git a/scripts/notarize.js b/scripts/notarize.js index 98cf61d4..3d6d73d5 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/Bdash.app"); + const appPath = path.resolve(__dirname, "../dist/production/mac-universal/Bdash.app"); if (!fs.existsSync(appPath)) { throw new Error(`Cannot find application at: ${appPath}`);