Re: how to test bundle versions string?
Re: how to test bundle versions string?
- Subject: Re: how to test bundle versions string?
- From: phil03 <email@hidden>
- Date: Sun, 16 Mar 2014 19:43:02 +0700
So I discovered the constant "CFBundleShortVersionString" but my
attempts to use it have been thwarted.
This doesn't work, for example:
set myVersionNum to current application's
CFBundleShortVersionString
I tried coercing to string and text to no avail.
On 16/03/2014 19:20, phil03 wrote:
I'm trying to implement a "check for software updates" function in my
ASObjC app.
I'm more or less there, except I'm not quite sure how to query the
current version number in my info.plist from within my application's
script.
Suppose I have the newest version number in an html file which I call
using curl. I display a dialog prompting the user to update if the
version number curl returns is higher than the version number of the
calling script.
How do I get the bundles current version number into a property in the
script to test against what's returned by curl?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden