Difference between revisions of "Adobe AIR"

From ArchWiki
Jump to: navigation, search
m
(Making it executable)
Line 17: Line 17:
 
{{bc|
 
{{bc|
 
  #! /bin/sh
 
  #! /bin/sh
  /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/wimp/META-INF/AIR/application.xml /opt/airapps/wimp/
+
  /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/<Application name>/META-INF/AIR/application.xml /opt/airapps/wimp/
 
}}
 
}}
 
The app might need parameters (voddler) so then the script can look like:
 
The app might need parameters (voddler) so then the script can look like:
 
{{bc|
 
{{bc|
 
  #! /bin/sh
 
  #! /bin/sh
  /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/wimp/META-INF/AIR/application.xml /opt/airapps/wimp/ -- $1 $2 $3 $4
+
  /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/<Application name>/META-INF/AIR/application.xml /opt/airapps/wimp/ -- $1 $2 $3 $4
 
}}
 
}}
 
Then ''chmod'' the file so that it can execute:
 
Then ''chmod'' the file so that it can execute:

Revision as of 21:23, 11 December 2012

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 /opt/airapps/<appname>. 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 /usr/bin:

 #! /bin/sh
 /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/<Application name>/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/<Application name>/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 /opt/airapps. Also delete the executable if you created one.