Skip to content

Commit

Permalink
Use arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
morishin committed Jun 14, 2024
1 parent 46885a9 commit e424b54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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-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}`);
Expand Down

0 comments on commit e424b54

Please sign in to comment.