Difference between revisions of "Adobe AIR"

From ArchWiki
Jump to: navigation, search
m (lede with interwiki link to wikipedia)
(Making it executable)
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
[[Category:Development]]
 +
[[Category:Internet Applications]]
 +
[[ja:Adobe AIR]]
 +
[[zh-CN:Adobe AIR]]
 
[[Wikipedia:Adobe Integrated Runtime|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.
 
[[Wikipedia:Adobe Integrated Runtime|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 ==
 
==Installing Adobe AIR ==
Get [http://www.adobe.com/products/air/ Adobe AIR] from the [[Arch User Repository|AUR]]:
+
Install [https://aur.archlinux.org/packages.php?ID=25633&comments=all adobe-air-sdk] from the [[AUR]].
$ 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 {{ic|/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>/
+
{{bc|$ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/<Application name>/META-INF/AIR/application.xml /opt/airapps/<Application name>/}}
  
 
===Making it executable===
 
===Making it executable===
You can also make an executable by creating a file in {{filename|/usr/bin}}:
+
You can also make an executable by creating a file in {{ic|/usr/bin}}:
<pre>
+
{{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/
</pre>
+
}}
 +
The app might need parameters (voddler) so then the script can look like:
 +
{{bc|
 +
#! /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:
 
Then ''chmod'' the file so that it can execute:
 
  $ chmod +x filename
 
  $ chmod +x filename
Line 22: Line 30:
  
 
===Removing the application===
 
===Removing the application===
Delete the application folder in {{filename|/opt/airapps}}. Also delete the executable if you created one.
+
Delete the application folder in {{ic|/opt/airapps}}. Also delete the executable if you created one.

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.