-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
No way to know if the app was signed in the afterSign hook #4452
Comments
When the notarization was not successful you should get an error in the console in catch block:
You right. But why your app should not be signed? When the certificate exist the app should be signed. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I actually was trying also to achieve the same thing. Anybody has an answer by now ? I don't always want to sign my app (eg. on some CI builds) and in those cases I cannot run 'notarize' flow, because it will fail. |
Which version of electron-builder are you using?
electron-updater: "4.2.0"
electron: "6.1.4"
electron-builder: "21.2.0"
electron-notarize: "0.2.0"
Target: MacOS Catalina
In the afterSign hook, there is no way to know if the app signing was successful or not. If it's not successful, I don't want to run the notarize process.
The info is not available in the packContext.
electron-builder/packages/app-builder-lib/src/platformPackager.ts
Lines 243 to 248 in b83f580
The text was updated successfully, but these errors were encountered: