mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-03-13 00:18:13 -04:00
📦 Chore: add team id for notarizing app
This commit is contained in:
parent
37ea22595b
commit
749c66ebaf
@ -6,7 +6,8 @@ const { notarize } = require('@electron/notarize')
|
||||
const {
|
||||
ELECTRON_SKIP_NOTARIZATION,
|
||||
XCODE_APP_LOADER_EMAIL,
|
||||
XCODE_APP_LOADER_PASSWORD
|
||||
XCODE_APP_LOADER_PASSWORD,
|
||||
XCODE_TEAM_ID
|
||||
} = process.env
|
||||
|
||||
async function main (context) {
|
||||
@ -16,7 +17,8 @@ async function main (context) {
|
||||
electronPlatformName !== 'darwin' ||
|
||||
ELECTRON_SKIP_NOTARIZATION === 'true' ||
|
||||
!XCODE_APP_LOADER_EMAIL ||
|
||||
!XCODE_APP_LOADER_PASSWORD
|
||||
!XCODE_APP_LOADER_PASSWORD ||
|
||||
!XCODE_TEAM_ID
|
||||
) {
|
||||
console.log('Skipping Apple notarization.')
|
||||
return
|
||||
@ -29,7 +31,8 @@ async function main (context) {
|
||||
appPath: `${appOutDir}/${appName}.app`,
|
||||
appleId: XCODE_APP_LOADER_EMAIL,
|
||||
appleIdPassword: XCODE_APP_LOADER_PASSWORD,
|
||||
tool: 'notarytool'
|
||||
tool: 'notarytool',
|
||||
teamId: XCODE_TEAM_ID
|
||||
})
|
||||
console.log('Finished Apple notarization.')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user