diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index cccdbde5a0..5ce5565e36 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -131,6 +131,7 @@ jobs: CSC_LINK: ${{ secrets.MAC_CSC_LINK }} APPLEID: ${{ secrets.APPLE_ID }} APPLEIDPASS: ${{ secrets.APPLE_ID_PASS }} + TEAMID: ${{ secrets.APPLE_TEAM_ID }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} USE_HARD_LINKS: false diff --git a/packages/desktop/scripts/notarize.js b/packages/desktop/scripts/notarize.js index f60c6b64e1..733efda08e 100644 --- a/packages/desktop/scripts/notarize.js +++ b/packages/desktop/scripts/notarize.js @@ -12,10 +12,12 @@ exports.default = async function notarizing(context) { console.log('notarization start') try { const response = await notarize({ + tool: 'notarytool', appBundleId: 'com.yourcompany.yourAppId', appPath: `${appOutDir}/${appName}.app`, appleId: process.env.APPLEID, - appleIdPassword: process.env.APPLEIDPASS + appleIdPassword: process.env.APPLEIDPASS, + teamId: process.env.TEAMID }) console.log('notarization done') return response