Renaming appId causes AutoUpdater to throw errors on update
See original GitHub issue- Version: 22.6.0
- Electron Version: 8.2.3
- Electron Type (current, beta, nightly): current
- Electron-Updater Version: 4.3.1
- Target: Mac, Windows
When shipping an application with a fixed appId such as "appId": "com.myOrg.myAppName"
all works well and the auto-updater is able to ship new versions to the end-user as expected. If you change the appId to something new (such as "appId": "com.myOrg.myRenamedApp"
) due to rebranding or other reasons, the auto-updater will throw an error due to the mismatch in appId values.
Here’s a screenshot reproing the problem:
Our old appId is com.lightspeed.CFD
whereas the new one is com.lightspeed.Hub
which causes the update to fail.
This is obviously critical as it means it is impossible to rebrand an application automatically without having all users manually download and install a fresh version of the application, and of course the more users your application has the worse this is.
In our case, even a workaround would be helpful and allow us to move forward.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7
Top GitHub Comments
Thanks for your response! Too bad. I can’t believe we are the only people dealing with this. I guess there is no other option other than tell my users to download the update manually.
@frankrobert-ls , any update on this issue in your case? … I am facing the same problem for my app. Any help would be great…