Skip to content

Commit

Permalink
Use universal binary for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
morishin committed Jun 14, 2024
1 parent f0ee313 commit 1fd2f3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/notarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 1fd2f3a

Please sign in to comment.