I'm building an in-panel update feature, which allows the user
to download an updated ZXP of the extension from within the panel itself
and then launch the downloaded ZXP, which would open Extension Manager.
is there an HTML5 equivalent of AIR's openWithDefaultApplication() ?
Rather than using a ZXP, just update the panel code in the installation directory itself. There are a few extensions that do this already, e.g. OpenBrand and InvisionApp LiveCycle (just as an example).
Hallgrimur Bjornsson | Adobe CCE Product Manager | @HallgrimurTh
Sounds interesting, Hallgrimur.
So the flow would look as the following?
- the initial installation would be through a ZXP (ideally packaged together with the Flex version, as described by Davide)
- the user would click a link to update the extension
and the files would be downloaded into the extension's folder, overwriting the current files.
- the extensions shows a Download completed message and tells the user to close and re-open the panel.
Is that the way these extensions work?