Skip to content

Commit

Permalink
Use universal binary
Browse files Browse the repository at this point in the history
  • Loading branch information
morishin committed Oct 18, 2024
1 parent 8184e9d commit db28b98
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions build/entitlement.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
</dict>
</plist>
7 changes: 5 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ win:
- nsis

mac:
singleArchFiles: "*"
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 db28b98

Please sign in to comment.