diff --git a/build/entitlement.plist b/build/entitlement.plist
index 67ebe4ec..98edeb4a 100644
--- a/build/entitlement.plist
+++ b/build/entitlement.plist
@@ -6,5 +6,7 @@
com.apple.security.cs.disable-library-validation
+ com.apple.security.cs.allow-jit
+
diff --git a/electron-builder.yml b/electron-builder.yml
index 7e3611a7..3f15def3 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -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
diff --git a/scripts/notarize.js b/scripts/notarize.js
index c290b0a7..a8624d7a 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}`);