AutoUpdater: Electron blocks ShipIt process on macOS
See original GitHub issue- Version: 20.28.2
- Updater version: 3.1.1
- Electron version: 3.0.0-beta6
- Target: darwin x64
It seems that the electron process with the given versions is blocked somehow while updating, ShipIt is not able to replace the application files. The update cannot be applied unless you completely quit the application and wait for ShipIt to be finished.
If ShipIt is not completely finished and you start the Application again the app will be broken.
I downgraded electron-builder to 20.26.0
and electron-updater to 3.0.3
(our last working configuration) and everything works fine with those versions.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Auto Update
macOS application must be signed in order for auto updating to work. ... Simplified auto-update is supported on Windows if you use the...
Read more >Electron auto update introduction - Philo's Blog
Step by step guide on using Electron Auto Update to distribute new versions of your application to your users.
Read more >In-app updating of macOS applications doesn't work (ShipIt)
You need admin permissions to write to /Applications – that's why the update is failing. Try running the app through Terminal:.
Read more >electron auto updater without code signing
autoUpdater.quitAndInstall () Restarts the app and installs the update after it has been downloaded. It should only be called after update-downloaded has ...
Read more >Macos Electron Build Fails Appstore Submission With "Exited With ...
A complete solution to package and build a ready for distribution Electron app with "auto update" support out of the box - electron-userland/electron-builder....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Likely related: https://github.com/electron-userland/electron-builder/issues/3269
I have the same problem.
After the new version is downloaded in background I get
Error: No update available, can't quit and install
. The app stop and I need to restart to complete the update.