Update: this is fixed by default in electron-builder 20.44.4 and the dmg is not signed by default. Meaning, what works on macOS 10.14.5 and higher is: a non-signed non-notarized dmg that contains a signed + notarized app. It turns out that the dmg in that case should not be signed in order for it to work properly. Unfortunately, even after the app is notarized, the dmg will still not open on macOS 10.14.5. Once you run electron-builder, it will run the notarization process automatically ( it takes some ~5 to ~15 minutes) then packages the app. You need to add you app email and password as environment variables appleId and appleIdPassword. To enable this for your app, add the ‘ hardenedRuntime’ property to your ‘ mac’ target in electron-builder settings (in packages.json or electron-builder.json depending on your setup). In order to notarize your electron app, it needs to be built with the Hardened Runtime capability. Notarize electron apps with electron-builder & electron-notarize Make sure to check it out if you’d like to clean up your Twitter account and delete old tweets. This post describes how we notarized our app Twitter Archive Eraser. The warning window will now have an ‘ open’ button you can click to proceed. ![]() Hint: to proceed with opening the dmg anyway on macOS 10.14.5, you can simply right click the select open. ![]() Worse, if you upgrade to macOS 10.14.5 you wouldn’t be able to build your app at all using electron-builder ( fix in progress).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |