Difference between revisions of "Adobe AIR"

From ArchWiki
Jump to: navigation, search
(Add i18n template)
(update templates, see Help:Style)
Line 8: Line 8:
  
 
==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>/
 
  $ /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/wimp/META-INF/AIR/application.xml /opt/airapps/wimp/
</pre>
+
}}
 
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:
<pre>
+
{{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/wimp/META-INF/AIR/application.xml /opt/airapps/wimp/ -- $1 $2 $3 $4
</pre>
+
}}
 
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 29: Line 29:
  
 
===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 06:37, 13 February 2012

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

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/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 /opt/airapps. Also delete the executable if you created one.