[Adium-devl] SystemVersionCheck

Joshua Lock incandescant at gmail.com
Wed Aug 16 15:13:45 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 16 Aug 2006, at 15:54, Peter Hosey wrote:
> On Aug 16, 2006, at 06:35:22, Graham Booker wrote:
>> I almost wonder if it would be better to change the  
>> systemVersionCheck to use OS X's application launch mechanism  
>> rather than fork.  Put the whole app in a sub-dir within adium and  
>> have the system version check launch the app within itself.
>
> I second the motion.

I don't know how the current version check works but is this any use?

http://weblog.bignerdranch.com/?p=13

 From the page :

"I describe a better solution, using a boot-strapping executable to  
check the OS version, and only load the real application if the  
minimum OS version is satisfied. If not, an informative alert is  
presented to the user. It works with Universal Binaries, Carbon and  
Cocoa, and all the way back to Mac OS X 10.0, and it doesn’t depend  
on the buggy LSMinimumSystemVersion feature from Apple."

The sample code is BSD license ...

- -J
- --
Joshua Lock
incandescant at googlemail.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFE4zYpYDFdGYo657IRAtrWAJ0T8gmWghUuFd92HonRY+pLSEHvWgCdFIqR
KZ13DtpvIMI6cdSrAPgg5jc=
=VjSd
-----END PGP SIGNATURE-----




More information about the devel mailing list