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

Revert workaround for buggy after_sign_hook #782

Merged
merged 2 commits into from
Feb 26, 2020

Conversation

loremattei
Copy link
Contributor

@loremattei loremattei commented Feb 24, 2020

Description:

This PR reverts a workaround for a bug in electron-builder where the after_sign_hook was called before the app was signed.

Motivation and Context:

#775 updated electron-builder to a version where the original issue has been fixed.
Also, we found that the workaround doesn't work well for signing the .zip file.

How Has This Been Tested:

  1. Verify that the build on the CI to be green.
  2. Tag the head of this branch with a new v5 beta tag and verify that the build is completed, the release on GitHub drafted and the .zip and .dmg binaries signed.

@nsakaimbo
Copy link
Contributor

Looks good - thanks, @loremattei. Just a thought - do you think it might be helpful to test this change with a temporary v1.0.0 tag (which we can subsequently delete afterwards)? Or are we fairly confident this will address the mac.zip notarization issue?

@loremattei
Copy link
Contributor Author

Sure @nsakaimbo! I was just writing the description :-)

@loremattei loremattei requested a review from nsakaimbo February 24, 2020 15:43
@loremattei loremattei marked this pull request as ready for review February 24, 2020 21:18
@loremattei loremattei merged commit 281a567 into release/5.0.0 Feb 26, 2020
@loremattei loremattei deleted the try/revert-notarization-workaround branch February 26, 2020 13:24
nsakaimbo added a commit that referenced this pull request Feb 26, 2020
### Changes include:

* [notarization] Revert workaround for buggy after\_sign\_hook (#782)

* [icons] Use buildResources folder (#771)

  Updates the application icon folder structure and declarations to be aligned with updated electron-builder documentation. Specifically, we streamline the usage of application icons by:

  - Removing direct icon references for each platform in package.json, and replacing with a top-level buildResources directory
  - Removing the linux-specific icon so electron-builder can use icon.icns for both Linux and Mac (per the docs)

  Per the docs, icons in buildResources will automatically be detected and used accordingly as follows:

    - icon.icns -- Mac and Linux (installers and applications)
    - background.png and [email protected] (Mac installer backgrounds)
    - icon.ico -- Windows (installer and application)
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.

2 participants