Skip to content

Commit

Permalink
[MM-19569] add notarization to osx app (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
Willyfrog committed Oct 22, 2019
1 parent 17336c8 commit 9bdf1b7
Show file tree
Hide file tree
Showing 5 changed files with 384 additions and 268 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ jobs:
key: npm-{{ arch }}-{{ .Branch }}-{{ checksum "src/package-lock.json" }}
- update_image:
apt_opts: "--no-install-recommends jq icnsutils graphicsmagick tzdata"
- run: jq '.mac.target=["zip"]' electron-builder.json > /tmp/electron-builder.json && cp /tmp/electron-builder.json .
- run: jq '.mac.target=["zip"]' electron-builder.json | jq '.mac.gatekeeperAssess=false' > /tmp/electron-builder.json && cp /tmp/electron-builder.json .

- build:
os: mac
path: ./dist/macos
Expand Down
7 changes: 5 additions & 2 deletions electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
]
}
],
"afterSign": "scripts/notarize.js",
"deb": {
"synopsis": "Mattermost"
},
Expand Down Expand Up @@ -67,12 +68,14 @@
]
}
],
"hardenedRuntime": true
"hardenedRuntime": true,
"gatekeeperAssess": true
},
"dmg": {
"background": "resources/osx/DMG_BG.png",
"iconSize": 140,
"iconTextSize": 18
"iconTextSize": 18,
"sign": false
},
"squirrelWindows": {
"iconUrl": "file://resources/icon.ico",
Expand Down
Loading

0 comments on commit 9bdf1b7

Please sign in to comment.