Skip to content

How to do app rename on update? #2261

Answered by zorgiepoo
maniac-coder asked this question in Q&A
Discussion options

You must be logged in to vote

You need to compile your own build of Sparkle setting SPARKLE_NORMALIZE_INSTALLED_APPLICATION_NAME = 1 in ConfigCommon.xcconfig, then set SUBundleName or CFBundleName in your app, deliver an update, and then on the next update after that the rename will take effect. And maybe you want to switch appcasts, but that's up to you. And finally, disable and set SPARKLE_NORMALIZE_INSTALLED_APPLICATION_NAME = 0 when you're done and it's no longer needed.

The normalization process isn't that great. Users can generally rename an app bundle to whatever they want, and this setting forces a specific rename which may override the user's choice. That's why it's not supported as easily as you may like.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maniac-coder
Comment options

Answer selected by maniac-coder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants