Skip to content

Commit

Permalink
enable hardened runtime for macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Willis-Ford committed Jan 16, 2020
1 parent 9b22411 commit 6a33d41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildResources/entitlements.inherit.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.inherit</key>
<true/>
</dict>
Expand Down
2 changes: 2 additions & 0 deletions buildResources/entitlements.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.device.camera</key>
Expand Down
1 change: 1 addition & 0 deletions electron-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ appId: edu.mit.scratch.scratch-desktop
productName: "Scratch Desktop"
mac:
category: public.app-category.education
hardenedRuntime: true
icon: buildResources/ScratchDesktop.icns
provisioningProfile: embedded.provisionprofile
target:
Expand Down

0 comments on commit 6a33d41

Please sign in to comment.