chore: add code sign for mac desktop app

pull/1220/head
Tienson Qin 2021-01-31 11:24:10 +08:00
parent 6d1fd0151c
commit d9bca05c35
2 changed files with 20 additions and 1 deletions

View File

@ -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>

View File

@ -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: [