I’m not going to say I’m an expert, but I’ve cataloged every electron error and show-stopper for an app I’ve built and deployed on windows/macOS for 5 years. Feel free to get in touch with me if you’d like help, or maybe just a slack channel where you can scream into the void. Best of luck, this stuff is CHALLENGING.
macdeployqt (which comes with Qt) has support for those things. Are you using that utility? There are other options, but macdeployqt has a nice combination of switches like -dmg, -sign-for-notarization, -appstore-compliant, etc.
I'm in the middle of trying to work out how to do this for an Electron app built using Electron.Net and it's a bit of a nightmare.
Different steps, but looking for the same outcome.
Thanks.