SparklePlus 0.3
Posted by Tom Harrington
SparklePlus has been updated to version 0.3.
Changes in this version are:
- Updated to track Sparkle version 1.1 (a.k.a. svn revision 892).
- Added hardware model-name translation when asking if the user wants to send profile information, so that the user will see (for example) “iMac (Core Duo)” instead of “iMac4,1″.
- Archive unpacking handles multiply-encoded archives such as .tar.bz2 and .tar.gz
- Fixed these bugs:
- Made the check-for-updates window show the application name instead of “Sparkle Test App”
- Make checking for updates at startup actually happen, if the user previously said it was OK. Previously this would only happen on the first execution. Thanks to Dominique Peretti for pointing this out.
- Prevent multiple calls to -checkForUpdatesInBackground: when the profile-info nib can’t be found (thanks to Dominique Peretti again).
- Fix setting an incorrect value for SUSendProfileInfoKey when the profile-info nib can’t be found (thanks to Dominique Peretti yet again).
<
p>You can get SparklePlus 0.3 through SVN here at ironcoder.org. That’d be:
svn co http://ironcoder.org/svn/SparklePlus/tags/release-0.3
If you prefer to just download version 0.3 without all that mucking about with svn, there’s also a convenient tarball of this release.
Or if you want to keep up to date with it, grab the trunk and take your chances:
svn co http://ironcoder.org/svn/SparklePlus/trunk
March 5th, 2007 at 10:01 am
SparklePlus Bug?
It seems that version 0.3 never actually checks for updates upon startup. The following lines appear with an if/else block for updating only if the nib is missing. I moved this code out of the block and to the bottom of the -applicationDidFinishLaunching: method and it now seems to work correctly.
if ([shouldCheckAtStartup boolValue])
[self checkForUpdatesInBackground];
It also looks like the svn trunk version doesn’t check upon startup either, but I didn’t check it thoroughly. It appears to only check if there is an check interval specified.