version numbers in the Finder
version numbers in the Finder
- Subject: version numbers in the Finder
- From: Philip George <email@hidden>
- Date: Mon, 26 May 2003 03:43:06 -0500
I have a Cocoa app that has an 'update' feature which grabs an updated
binary from my web server and replaces the currently running binary. The
binary switch is done atomically, so there's no threat of having a dead
(no-binary-havin) app on the next launch. All the fail-safe code works
great. I can yank the ethernet cable in the middle of the download and it
recovers transparently to the currently running version.
Now the trick is updating 'info.plist'. If I have already looked at the
version number in a Finder window or a 'Show Info' window in the Finder,
then that version info is cached apparently, because after the update, the
version number remains the same instead of bumping up to the new/updated
verion number. If I have not looked at that info since last login (or
Finder launch) then all is fine since it hasn't been cached yet, but I need
it to work ALL of the ime.
What can I do? I can't ask the user to relaunch their Finder or
logout/login. There must be some way to tell the Finder to flush that cache
or that a newer version of a particular app has been installed or whatever.
Anyone know?
Thanks.
- Philip
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.