Skip to content

Commit

Permalink
chore: add code sign for mac desktop app
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Jan 31, 2021
1 parent 6d1fd01 commit d9bca05
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
12 changes: 12 additions & 0 deletions resources/entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.debugger</key>
<true/>
</dict>
</plist>
9 changes: 8 additions & 1 deletion resources/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ const path = require('path')

module.exports = {
packagerConfig: {
icon: './icons/logseq_big_sur.icns'
icon: './icons/logseq_big_sur.icns',
osxSign: {
identity: 'Developer ID Application: Tiansheng Qin',
'hardened-runtime': true,
entitlements: 'entitlements.plist',
'entitlements-inherit': 'entitlements.plist',
'signature-flags': 'library'
}
},

makers: [
Expand Down

0 comments on commit d9bca05

Please sign in to comment.