osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Restarting an AIR desktop application


Hi,

Just so we understand, having another 38Mb download is not viable because of the time it takes to download it, or something else?

If what your launcher app does is simple enough, you could look into writing them as shell and batch scripts or tiny native apps.

HTH,
-Alex

On 7/5/18, 2:26 AM, "After24" <vincent@xxxxxxxxxxx> wrote:

    Hi Alex, Hi Om,
    
    Thank you both for your answers.
    
    Alex I gave a try to your solution by creating a simple launcher.app
    
    When it's update is complete, the main application open the launcher app
    using the "usr/bin/open" command and closed itself, than the launcher.app re
    open the main application the same way.
    
    It works great but then I release the launcher.app size is 38 Mb even if
    laucher.swf weight only 778 bytes because of the AIR runtime
    encapsulation... so this solution is not viable.
    
    Om, I gave a try to the executeFile method you suggest but I get the
    following error :
    
    Error #3214: NativeProcessStartupInfo.executable does not specify a valid
    executable file
    
    
    Vincent.
    
    
    
    --
    Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Cd65ce551d48b4729222b08d5e2595fd2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636663795844407813&sdata=W4lf%2BvBzfmu%2BPMVEFbybnQAJK46Xz7Z4c2ozLfmMTJ0%3D&reserved=0