Skip to content

Commit 6a33d41

Browse files
author
Christopher Willis-Ford
committed
enable hardened runtime for macOS builds
1 parent 9b22411 commit 6a33d41

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

buildResources/entitlements.inherit.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
66
<true/>
7+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
8+
<true/>
79
<key>com.apple.security.inherit</key>
810
<true/>
911
</dict>

buildResources/entitlements.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
66
<true/>
7+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
8+
<true/>
79
<key>com.apple.security.device.audio-input</key>
810
<true/>
911
<key>com.apple.security.device.camera</key>

electron-builder.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ appId: edu.mit.scratch.scratch-desktop
55
productName: "Scratch Desktop"
66
mac:
77
category: public.app-category.education
8+
hardenedRuntime: true
89
icon: buildResources/ScratchDesktop.icns
910
provisioningProfile: embedded.provisionprofile
1011
target:

0 commit comments

Comments
 (0)