diff --git a/.github/workflows/build_macos.yaml b/.github/workflows/build_macos.yaml index 7f122b5..c92d853 100644 --- a/.github/workflows/build_macos.yaml +++ b/.github/workflows/build_macos.yaml @@ -86,7 +86,7 @@ jobs: run: | yarn build:universal --publish never env: - ED_NOTARYTOOL_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} + APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} CSC_KEY_PASSWORD: ${{ secrets.APPLE_CSC_KEY_PASSWORD }} diff --git a/electron-builder.ts b/electron-builder.ts index 88c4f56..042f969 100644 --- a/electron-builder.ts +++ b/electron-builder.ts @@ -12,9 +12,6 @@ import { flipFuses, FuseVersion, FuseV1Options } from "@electron/fuses"; * Passes $ED_SIGNTOOL_THUMBPRINT and $ED_SIGNTOOL_SUBJECT_NAME to * build.win.signingHashAlgorithms and build.win.certificateSubjectName respectively if specified. * - * On macOS: - * Passes $ED_NOTARYTOOL_TEAM_ID to build.mac.notarize.notarize if specified - * * On Linux: * Replaces spaces in the product name with dashes as spaces in paths can cause issues * Removes libsqlcipher0 recommended dependency if env SQLCIPHER_BUNDLED is asserted. @@ -177,16 +174,6 @@ if (process.env.ED_SIGNTOOL_SUBJECT_NAME && process.env.ED_SIGNTOOL_THUMBPRINT) config.win.certificateSha1 = process.env.ED_SIGNTOOL_THUMBPRINT; } -/** - * Allow specifying macOS notary team id via env var - * @param {string} process.env.ED_NOTARYTOOL_TEAM_ID - */ -if (process.env.ED_NOTARYTOOL_TEAM_ID) { - config.mac.notarize = { - teamId: process.env.ED_NOTARYTOOL_TEAM_ID, - }; -} - /** * Allow specifying nightly version via env var * @param {string} process.env.ED_NIGHTLY