From ebccb0f1b4535401b27f9682688a429aaf174501 Mon Sep 17 00:00:00 2001 From: aineo <124525926+aineo@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:29:56 +0300 Subject: [PATCH 1/5] fix: disable electron-builder notarization --- electron-builder.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/electron-builder.yml b/electron-builder.yml index 36ec28e4d..0ef7ab850 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -35,6 +35,7 @@ mac: entitlementsInherit: './build/osx/entitlements.mac.plist' hardenedRuntime: true gatekeeperAssess: false + notarize: false afterSign: 'scripts/electron/notarize.cjs' From 057844bcb305ad7513fd2485713a2a59f528a382 Mon Sep 17 00:00:00 2001 From: aineo <124525926+aineo@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:57:10 +0300 Subject: [PATCH 2/5] temp: add current branch for workflow electron mac triggering --- .github/workflows/electron-mac.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/electron-mac.yml b/.github/workflows/electron-mac.yml index c4ef46fb1..a923ee9da 100644 --- a/.github/workflows/electron-mac.yml +++ b/.github/workflows/electron-mac.yml @@ -5,6 +5,7 @@ on: branches: - master - dev + - fix/electron-for-mac-build-failed env: GH_TOKEN: ${{ secrets.github_token }} From 6d89eab78813a15912efdc64a278b16527abdb5d Mon Sep 17 00:00:00 2001 From: aineo <124525926+aineo@users.noreply.github.com> Date: Tue, 25 Jun 2024 18:45:40 +0300 Subject: [PATCH 3/5] fix: try notarize by hook after pack and before sign --- electron-builder.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron-builder.yml b/electron-builder.yml index 0ef7ab850..afdf3d36e 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -37,7 +37,7 @@ mac: gatekeeperAssess: false notarize: false -afterSign: 'scripts/electron/notarize.cjs' +afterPack: 'scripts/electron/notarize.cjs' # Config for OSX dmg dmg: From 02572a26bd6527232a070a3eb491d25faece041d Mon Sep 17 00:00:00 2001 From: bludnic Date: Thu, 27 Jun 2024 07:08:32 +0100 Subject: [PATCH 4/5] Revert "fix: try notarize by hook after pack and before sign" This reverts commit 6d89eab78813a15912efdc64a278b16527abdb5d. --- electron-builder.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron-builder.yml b/electron-builder.yml index afdf3d36e..0ef7ab850 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -37,7 +37,7 @@ mac: gatekeeperAssess: false notarize: false -afterPack: 'scripts/electron/notarize.cjs' +afterSign: 'scripts/electron/notarize.cjs' # Config for OSX dmg dmg: From 0607a92bb9ce213aa5941640d463933787aadfb8 Mon Sep 17 00:00:00 2001 From: bludnic Date: Thu, 27 Jun 2024 07:16:00 +0100 Subject: [PATCH 5/5] Revert "temp: add current branch for workflow electron mac triggering" This reverts commit 057844bcb305ad7513fd2485713a2a59f528a382. --- .github/workflows/electron-mac.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/electron-mac.yml b/.github/workflows/electron-mac.yml index a923ee9da..c4ef46fb1 100644 --- a/.github/workflows/electron-mac.yml +++ b/.github/workflows/electron-mac.yml @@ -5,7 +5,6 @@ on: branches: - master - dev - - fix/electron-for-mac-build-failed env: GH_TOKEN: ${{ secrets.github_token }}