• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript Application Self-Check for updates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: AppleScript Application Self-Check for updates
      • From: email@hidden
References: 
 >AppleScript Application Self-Check for updates (From: Daniel Chavez <email@hidden>)

  • Prev by Date: AppleScript Application Self-Check for updates
  • Next by Date: Re: AppleScript Application Self-Check for updates
  • Previous by thread: AppleScript Application Self-Check for updates
  • Next by thread: Re: AppleScript Application Self-Check for updates
  • Index(es):
    • Date
    • Thread