Updating running apps

Andre Garzia andre at andregarzia.com
Sun Mar 28 19:48:02 EDT 2010


GLX App Framework does this in a very easy way.

Cheers
andre

On Sun, Mar 28, 2010 at 8:30 PM, Marty Knapp <martyknapp at comcast.net> wrote:

> Trevor's GLX Frameworks does this, though I couldn't tell you how!
>
> Marty Knapp
>
>  I have some apps that when checking for updates, then offer a "Install
>> & Relaunch" option.
>> This seems really cool to me, but I haven't worked out how to do it in
>> my Rev apps.
>> If I am only updating separate sub-stacks, then I can work it out, but
>> if I want to update the actual application file what can I do?
>>
>> I can get the existing app to download the new version, but then what?
>> Can a running app replace itself on disk?
>> Then how to tell it to quit & re-launch?
>>
>> On a Mac, I guess I could spit out an AppleScript to quit the app,
>> re-locate the downloaded app, then restart it but the apps I have
>> don't seem to start an AppleScript when doing this.
>>
>> Any suggestions?
>>
>> Cheers,
>> Sarah
>>
>> P.S. When I say Andre announce revSparkle I got all excited as I
>> thought he was offering hooks into the Sparkle updater framework
>> <http://sparkle.andymatuschak.org/>, but it was a different Sparkle
>> :-(
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list