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 {
|
const {
|
||||||
ELECTRON_SKIP_NOTARIZATION,
|
ELECTRON_SKIP_NOTARIZATION,
|
||||||
XCODE_APP_LOADER_EMAIL,
|
XCODE_APP_LOADER_EMAIL,
|
||||||
XCODE_APP_LOADER_PASSWORD
|
XCODE_APP_LOADER_PASSWORD,
|
||||||
|
XCODE_TEAM_ID
|
||||||
} = process.env
|
} = process.env
|
||||||
|
|
||||||
async function main (context) {
|
async function main (context) {
|
||||||
@ -16,7 +17,8 @@ async function main (context) {
|
|||||||
electronPlatformName !== 'darwin' ||
|
electronPlatformName !== 'darwin' ||
|
||||||
ELECTRON_SKIP_NOTARIZATION === 'true' ||
|
ELECTRON_SKIP_NOTARIZATION === 'true' ||
|
||||||
!XCODE_APP_LOADER_EMAIL ||
|
!XCODE_APP_LOADER_EMAIL ||
|
||||||
!XCODE_APP_LOADER_PASSWORD
|
!XCODE_APP_LOADER_PASSWORD ||
|
||||||
|
!XCODE_TEAM_ID
|
||||||
) {
|
) {
|
||||||
console.log('Skipping Apple notarization.')
|
console.log('Skipping Apple notarization.')
|
||||||
return
|
return
|
||||||
@ -29,7 +31,8 @@ async function main (context) {
|
|||||||
appPath: `${appOutDir}/${appName}.app`,
|
appPath: `${appOutDir}/${appName}.app`,
|
||||||
appleId: XCODE_APP_LOADER_EMAIL,
|
appleId: XCODE_APP_LOADER_EMAIL,
|
||||||
appleIdPassword: XCODE_APP_LOADER_PASSWORD,
|
appleIdPassword: XCODE_APP_LOADER_PASSWORD,
|
||||||
tool: 'notarytool'
|
tool: 'notarytool',
|
||||||
|
teamId: XCODE_TEAM_ID
|
||||||
})
|
})
|
||||||
console.log('Finished Apple notarization.')
|
console.log('Finished Apple notarization.')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user