build: MacOS code signing (#1795)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
Peng Xiao
2023-04-04 05:39:25 +08:00
committed by GitHub
parent b36588714e
commit b1618e9ce1
3 changed files with 36 additions and 0 deletions

View File

@@ -2,6 +2,16 @@ module.exports = {
packagerConfig: {
name: 'AFFiNE',
icon: './resources/icons/icon.icns',
osxSign: {
identity: 'Developer ID Application: TOEVERYTHING PTE. LTD.',
'hardened-runtime': true,
}, // object must exist even if empty
osxNotarize: {
tool: 'notarytool',
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_PASSWORD,
teamId: process.env.APPLE_TEAM_ID,
},
},
makers: [
{

View File

@@ -5552,6 +5552,12 @@ __metadata:
languageName: node
linkType: hard
"@toeverything/hooks@workspace:../../packages/hooks":
version: 0.0.0-use.local
resolution: "@toeverything/hooks@workspace:../../packages/hooks"
languageName: unknown
linkType: soft
"@toeverything/y-indexeddb@workspace:*, @toeverything/y-indexeddb@workspace:../../packages/y-indexeddb":
version: 0.0.0-use.local
resolution: "@toeverything/y-indexeddb@workspace:../../packages/y-indexeddb"