The auto-update flow (checkForUpdates, update-downloaded, etc.) is working for Mojave, Catalina, and Big Sur. The update is successfully installed on each version on re-opening of the app. On calling quitAndInstall however, the app only relaunches on Mojave and Catalina but fails to restart the app on Big Sur.
In addition to the traditional quitAndInstall call, we've attempted to work around the inability to restart the app on Big Sur using the following relaunch code but these have all failed to successfully relaunch post-update:
app.relaunch();
app.relaunch({ execSync: '/Applications/AppName.app'});
app.relaunch({ args: process.argv.slice(1).concat(['--relaunch']) });
As Big Sur is planned to be release out of beta in the near future, it is probably good to get in front of it to ensure app relaunch in quitAndInstall works when users update.
Also seeing the same issue. Nothing we've tried so far has relaunched the app
electron-builder 21.1.5
electron-updater 4.3.4
We are experiencing the same issue on Electron 10.1.3 and electron-builder 22.8.0 but it looks like this was fixed in Electron v11: https://github.com/electron/electron/pull/25864
A backport to prior electron versions is not going to happen according to https://github.com/electron/electron/issues/25626#issuecomment-729493320
Bumped Electron to ^11.0.0 for our app in production, can confirm that after on Intel Big Sur 11.0.1, the problem is solved. Ensure you don't have any breaking API changes in your application before deploying!
Warning - if you use asar, then electron 11 doesn't currently work with electron-builder - https://github.com/electron-userland/electron-builder/issues/5360
Most helpful comment
Also seeing the same issue. Nothing we've tried so far has relaunched the app
electron-builder
21.1.5electron-updater
4.3.4