/2013/10/02/Sparkle--Where-are-update-checks-saved/

{"item":{"status":"visible","url":"\/2013\/10\/02\/Sparkle--Where-are-update-checks-saved\/","trash":"","name":"Sparkle--Where-are-update-checks-saved","parent":"","title":"Sparkle: Where are update checks saved","date":"2013-10-02 21:31:28","filepath":"posts\/20131002_Sparkle--Where-are-update-checks-saved.xml.json","type":"post","content":"<p><img style=\"float: left; margin-left: 10px; margin-right: 10px;\" src=\"http:\/\/www.8bitrobot.com\/media\/uploads\/Sparkle.png\" alt=\"\" width=\"72\" \/><a href=\"http:\/\/en.wikipedia.org\/wiki\/Sparkle_(software)\">Sparkle<\/a> is an OSX framework used for automating software. &nbsp;Once integrated into an application it will pull an appcast to see if it a newer version is available. &nbsp;If a newer version exists, it will download and install it. &nbsp;This framework frees developers from having to roll out their own update mechanism that lives outside the App Store.<\/p>\n<p>Built into Sparkle are little crumbs that make sure the update isn't performed too often since it will degrade the host application's performance. &nbsp;These preferences are saved in the host application's OSX preference\/properties location.<\/p>\n<p>When developing it is useful to be able to do an update check on every launch, which means clearing the crumbs Sparkle left behind. &nbsp;To do this use the \"defaults\" commandline tool:<\/p>\n<pre>$ defaults delete com.yourappdomainbundlename SUEnableAutomaticUpdates<\/pre>\n<pre><span style=\"white-space: normal;\">$ defaults delete com.yourappdomainbundlename SULastCheckTime<\/span><\/pre>\n<p>If you want to see what else Sparkle puts in your application preferences, just read them:<\/p>\n<pre>$ defaults read<span style=\"white-space: normal;\">&nbsp;<\/span><span style=\"white-space: normal;\">com.yourappdomainbundlename<\/span><\/pre>"}}
comments powered by Disqus
 

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

 
This page is best viewed with Firefox 3.5+, Chrome 5+, Safari 5+, Opera 10.6+, IE 9+
Copyright © 2014 8bitrobot.com