From 0e988407b89ccfb49de76c3adb4283c2a3313e3d Mon Sep 17 00:00:00 2001 From: Nathanael Anderson Date: Wed, 1 May 2024 10:17:45 -0600 Subject: [PATCH 1/4] Update master.yml Electron Signing has newer environmental variable names --- .github/workflows/master.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 5dd239e..f26c1bd 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -29,7 +29,9 @@ jobs: - name: "Build application" env: APPLE_ID: ${{ secrets.APPLE_ID }} + APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASS }} APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }} + APPLE_TEAM_ID: ${{ secrets.APPLE_ID_TEAM }} APPLE_ID_TEAM: ${{ secrets.APPLE_ID_TEAM }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} CSC_LINK: ${{ secrets.CSC_LINK }} From 4c4339b48d594cfd697e458f78f4a41a4a050fc3 Mon Sep 17 00:00:00 2001 From: Nathanael Anderson Date: Wed, 1 May 2024 10:48:06 -0600 Subject: [PATCH 2/4] Update mac signing --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 99d01ae..36ef112 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,9 @@ "arm64", "x64" ] + }, + "notarize": { + "teamId": "${APPLE_ID_TEAM}" } }, "win": { @@ -92,8 +95,7 @@ ], "asarUnpack": [ "build/**/*" - ], - "afterSign": "build/notarize.js" + ] }, "husky": { "hooks": { From 539fcc37b97f7d2aee8fdc7bcb178a94c1ecab59 Mon Sep 17 00:00:00 2001 From: Nathanael Anderson Date: Wed, 1 May 2024 11:38:26 -0600 Subject: [PATCH 3/4] Update mac signing --- build/entitlements.mac.plist | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/entitlements.mac.plist b/build/entitlements.mac.plist index bb87459..6bc22e9 100644 --- a/build/entitlements.mac.plist +++ b/build/entitlements.mac.plist @@ -2,7 +2,13 @@ + com.apple.security.cs.allow-jit + com.apple.security.cs.allow-unsigned-executable-memory + com.apple.security.cs.allow-dyld-environment-variables + + com.apple.security.cs.disable-library-validation + - \ No newline at end of file + From 9cdf97c991da1c5c25c976c32f85b6f3e074478e Mon Sep 17 00:00:00 2001 From: Nathanael Anderson Date: Wed, 1 May 2024 11:51:54 -0600 Subject: [PATCH 4/4] Update mac signing --- .github/workflows/master.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index f26c1bd..92fa7da 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 1 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: '20.11.1' - uses: actions/setup-python@v4 diff --git a/package.json b/package.json index 36ef112..63fe547 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ ] }, "notarize": { - "teamId": "${APPLE_ID_TEAM}" + "teamId": "778YBN5YK7" } }, "win": {