I am not sure that this is possible using only a felt base. The reason is that the application file name may differ from the CFBundleName defined in Info.plist. Sparkle needs to make sure that it updates the correct file system structure, regardless of what it may be named.
Consider the following scenario:
- The user downloads and installs
Adium.app , whose CFBundleName is Adium . - The user renames it to
Instant Messenger.app . - Sparkle downloads and installs the update.
- After the update, the file name of the updated application is still
Instant Messenger.app , and the name CFBundleName is still Adium .
You can either hope that the fact that your application name has changed in the menu bar will prompt the user to rename it on their own, or you can pull some cheats when starting the application to exit the application, rename it and restart if certain criteria are met. I do not recommend the latter, although users do not like applications that have decided to move around without problems.
source share