Thursday, December 14, 2017

#1 2015-11-06 04:56:06 pm

mrpires
Member
Registered: 2010-11-16
Posts: 20

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)

Offline

 

#2 2015-11-06 06:10:57 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5199

Re: Upgrading your ASOC app

Sparkle is pretty much the gold standard:

sparkle-project.org


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#3 2015-11-09 11:45:53 am

mrpires
Member
Registered: 2010-11-16
Posts: 20

Re: Upgrading your ASOC app

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

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)