3 ms·
the ability for an app to initiate a self-update, in which case, I'd love to know how to do this. Seen Sparkle[1]? It's all the rage in the OSX world. Thousa
by Groxx 16y ago
the ability for an app to initiate a self-update, in which case, I'd love to know how to do this.
Seen Sparkle[1]? It's all the rage in the OSX world. Thousands of applications use it. It'd be a good place to start. Beyond that, there's also Google's Update Engine[2], also for OSX, which does updates file by file, and I believe can even work with just changesets (Sparkle replaces the whole .app bundle). At least, I think Update Engine was started by Google...
Or, if you want to go for "epic" in-place self-updating, something could be done which mimics how some Linux kernel upgrades can be swapped while the OS is running. That's a neat trick. I believe Nginx can do the same, it'd probably be an easier start. Unless the binary is locked when downloaded, I don't see why that at least shouldn't be possible.
Though, all that said, IANA Android developer, and don't know what limitations are in place. Could be it's just flat out impossible, I honestly don't know.
[1]: http://sparkle.andymatuschak.org/ http://sparkle.andymatuschak.org/ [2]: http://code.google.com/p/update-engine/ http://code.google.com/p/update-engine/
- masklinn 16y ago> Seen Sparkle[1]? It's all the rage in the OSX world. Sparkle doesn't exist to upgrade your app from e.g. paid to free.
- Groxx 16y agoMinor nitpick, compared to it not being open source, so it's not an ideal one to begin with. There's no reason a nearly-identical system couldn't be used as a paid-upgrade tool; just download the license file that was purchased in-app, and have the newly-updated application read it in. It was chosen for conceptual design of something which has radically changed the application-updating playing field by being so successful. Normal people update regularly with Sparkle; how many have you seen ignore a Java / Windows / Adobe update for the thousandth time?
- masklinn 16y ago> Minor nitpick Uh no it's pretty major. > compared to it not being open source, so it's not an ideal one to begin with Sparkle is not open source? Are you high? http://github.com/andymatuschak/Sparkle http://github.com/andymatuschak/Sparkle
- Groxx 16y agogah, my mistake. Must've been thinking about something else.