Re: AppleScript Application Self-Check for updates
Re: AppleScript Application Self-Check for updates
- Subject: Re: AppleScript Application Self-Check for updates
- From: 2551phil <email@hidden>
- Date: Sun, 19 Mar 2017 11:20:05 +0700
The first half of what you want to do is fairly straightforward, but its when you get to here:
> quit the old version of the app, install the new version, then start the new app.
> If there were any temporary files from the older app version, it should clean them up and then start the new application version.
Most apps that I know of (including my own) use a third-party framework called Sparkle to achieve most of that. See:
https://sparkle-project.org
Rolling your own is no small ask, not least because you need to build a secondary app that will do the quitting and restarting of the main app.
In comparison, Sparkle is fairly easy to set up and doesn’t require much anything in the way of maintenance.
Either way, you’ll really want to build your app in Xcode to manage the project if you’re not doing so already.
Best
Phil
@sqwarq
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden