Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to electron-builder to code sign and notarize Cypress application #6013

Merged
merged 105 commits into from
Mar 25, 2020

Conversation

bahmutov
Copy link
Contributor

@bahmutov bahmutov commented Dec 19, 2019

User facing changelog

  • when running Cypress on Mac OS, there should be no warnings from Mac security tools
  • Mac application is signed using the new Cypress.io application certificate
  • Update execa from 1.0.0 to 4.0.0

Additional details

Mac OS Catalina requires the apps to be distributed to use new hardened runtime and be notarized. We also need to switch to the new company application certificate to code sign the app, instead of a personal certificate that is close to expiring

How has the user experience changed?

No changes

PR Tasks

  • Has the original issue been tagged with a release in ZenHub?

Details

stretch / unimportant

  • build on Mac does not create extra files / zip archives
  • Linux build does not create extra files / zip archives

flotwig and others added 30 commits December 2, 2019 12:40
that adds an option to use hardened Mac OS, which is necessary
for code notarization later.

See https://github.com/electron-userland/electron-builder/releases/tag/v20.41.0
and electron-userland/electron-builder#3858
@bahmutov bahmutov requested review from brian-mann and kuceb March 6, 2020 14:14
@bahmutov
Copy link
Contributor Author

  • blocked: yarn hoists ffmpeg installer out of packages/server, which seems to be a mistake since it is a production dependency

@bahmutov
Copy link
Contributor Author

$ ls node_modules/\@ffmpeg-installer/
darwin-x64
~/git/cypress on try-new-electron-sign*
$ ls packages/server/node_modules/\@ffmpeg-installer/
ffmpeg

@bahmutov
Copy link
Contributor Author

build and signing is working again, would be nice to merge and get Mac users to install pre-releases this week before using the new code signing certificate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

“Cypress” can’t be opened because Apple cannot check it for malicious software.
4 participants