Adobe AIR

From ArchWiki
Revision as of 19:54, 10 June 2011 by Pointone (Talk | contribs) (recategorize)

Jump to: navigation, search

Adobe Integrated Runtime (AIR) is a cross-platform runtime environment developed by Adobe Systems for building rich Internet applications using Adobe Flash, Adobe Flex, HTML, or Ajax, that can be deployed as desktop applications.

Installing Adobe AIR

Install adobe-air-sdk from the AUR.

Installing an AIR Application

Download the application, and unzip it to Template:Filename. To run it you can use the command

$ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/<Application name>/META-INF/AIR/application.xml /opt/airapps/<Application name>/

Making it executable

You can also make an executable by creating a file in Template:Filename:

 #! /bin/sh
 /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/wimp/META-INF/AIR/application.xml /opt/airapps/wimp/

The app might need parameters (voddler) so then the script can look like:

 #! /bin/sh
 /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/wimp/META-INF/AIR/application.xml /opt/airapps/wimp/ -- $1 $2 $3 $4

Then chmod the file so that it can execute:

$ chmod +x filename

Now you have installed an application in AIR. Yes it is this silly :P

Removing the application

Delete the application folder in Template:Filename. Also delete the executable if you created one.