Skip to content

Commit

Permalink
WIP: fix: Let electron-builder notarize app
Browse files Browse the repository at this point in the history
  • Loading branch information
taratatach committed Oct 15, 2024
1 parent d136bda commit 11ec843
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ env:
OS_PROJECT_DOMAIN_NAME: "Default"
OS_AUTH_URL: "https://auth.cloud.ovh.net/v3"
OS_IDENTITY_API_VERSION: "3"
APPLE_APP_SPECIFIC_PASSWORD: "${{ secrets.APPLE_ID_PASSWORD }}"

jobs:
cancel:
Expand Down
4 changes: 3 additions & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ files:
- node_modules/cozy-ui/dist/*.css
forceCodeSigning: true
afterPack: './build/afterPackHook.js'
afterSign: './build/afterSignHook.js'
#afterSign: './build/afterSignHook.js'
asarUnpack:
- gui/scripts/**
- '**/*.node' # see https://www.electronjs.org/docs/tutorial/application-packaging#adding-unpacked-files-to-asar-archives
Expand All @@ -47,6 +47,7 @@ mac:
- target: dmg
arch:
- x64
notarize: true
dmg:
contents:
- x: 110
Expand All @@ -55,6 +56,7 @@ dmg:
y: 150
type: link
path: '/Applications'
notarize: true

win:
target:
Expand Down

0 comments on commit 11ec843

Please sign in to comment.