Difference between revisions of "Adobe AIR"

From ArchWiki
Jump to: navigation, search
m (moved Adobe air to Adobe AIR: See http://en.wikipedia.org/wiki/Adobe_Integrated_Runtime)
Line 1: Line 1:
==Installing Adobe Air ==
+
==Installing Adobe AIR ==
 
+
Get [http://www.adobe.com/products/air/ Adobe AIR] from the [[Arch User Repository|AUR]]:
Get adobe air from the AUR
+
 
+
 
  $ yaourt -S adobe-air-sdk
 
  $ yaourt -S adobe-air-sdk
  
 
+
==Installing an AIR Application==
==Installing an Air application ==
+
Download the application, and unzip it to {{filename|/opt/airapps/<appname>}}. To run it you can use the command
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>/
 
  $ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/<Application name>/META-INF/AIR/application.xml /opt/airapps/<Application name>/
  
==Making an executable==
+
===Making it executable===
You can also make an executable by creating a file in /usr/bin
+
You can also make an executable by creating a file in {{filename|/usr/bin}}:
 
<pre>
 
<pre>
 
  #! /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/wimp/META-INF/AIR/application.xml /opt/airapps/wimp/
 
</pre>
 
</pre>
now chmod the file so that it can execute
+
Then ''chmod'' the file so that it can execute:
 
  $ chmod +x filename
 
  $ chmod +x filename
  
Now you have installed an application in air. Yes it is this silly :P
+
Now you have installed an application in AIR. Yes it is this silly :P
  
==Removing an AirApp==
+
===Removing the application===
Delete the application folder in /opt/airapps
+
Delete the application folder in {{filename|/opt/airapps}}. Also delete the executable if you created one.
also delete the executable if you created one.
+

Revision as of 15:01, 21 October 2010

Installing Adobe AIR

Get Adobe AIR from the AUR:

$ yaourt -S adobe-air-sdk

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/

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.