Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X: How do you handle migrating the app if you need to change the Bundle Identifier? #5321

Closed
eugirdor opened this issue Apr 27, 2016 · 1 comment

Comments

@eugirdor
Copy link

I recently updated electron-packager from 5.2.1 to 7.0.1. Part of the changes that came with that upgrade was a change in how the default Bundle Identifier was generated Platform: Mac App Store support #233. That ended up causing me a pretty painful breaking change as my app had a space in the name which would get normalized to an underscore (_) in 5.2.1 but a dash (-) in 7.0.1. That in turn broke auto-updating because the new app's Bundle Identifier no longer matched.

The new version of electron-packager has the correct implementation, the Bundle Identifier should never have had an underscore in it, as that is not a valid character according to the spec, but I already have versions of the app distributed with it. Right now, I do not know how I would be able to gracefully handle the Bundle Identifier changing.

@zcbenz
Copy link
Member

zcbenz commented Apr 28, 2016

Sorry but I don't think autoUpdater would be able to handle this.

@zcbenz zcbenz closed this as completed Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants