Upgrading your ASOC app

Hi

I have a couple of ASOC apps that my clients use and all is working well. I was wondering if there are any upgrade mechanisms for people to be able to upgrade the app to the latest version by selecting a “Check for updates” menu item.

Otherwise i was thinking of rolling my own:

  1. Create a “helper” app that is called when you want to check for updates.
  2. If the helper app finds an update on the server (maybe check a file with latest version and compare to installed version), it will ask if you want to update.
  3. If you agree, the helper app terminates the main app and the helper app copies it over to a temp directory.
  4. When done, the main app is replaced by the new app and launched.
  5. Helper app quits.

I’m wondering if there’s a better way I’m missing. Thanks.

Model: MacBook Air
Browser: Safari 601.2.7
Operating System: Mac OS X (10.10)

Sparkle is pretty much the gold standard:

sparkle-project.org

Thanks Shayne, I will look into it. Looks fairly easy to implement.