Reputation: 1590
Im trying to execute a .AIR file on a linux box (ubuntu) from the command line, and disregard the GUI.
Here's the thing. About 6mo I was able to do this, but I forgot how I did it, and I'm left to figure out how it was done by looking at clues on the server.
--- runAir.sh ---
#!/bin/sh
export DISPLAY=:2
/opt/MainSimple/bin/MainSimple &
So my question is, now that I have a new/different air file... how do I get it to "install" or change/compile into a binary file like I did before?
I know an .air file is just a zip file.. I unzipped it, and theirs no /bin directory in it.
Upvotes: 6
Views: 7658
Reputation: 3608
To install an air application from command-line, you can try this:
ln -s "/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer" /usr/sbin/airinstall
The above command will create a symbolic link for Air Application Installer. Then, to install an air app:
airinstall app.air
To execute/run the air application, locate the binary file of your air application then run it on terminal:
/opt/MainSimple/bin/MainSimple &
Upvotes: 4