wok annotate adobe-air-sdk/description.txt @ rev 24910

Update some web_site (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 09 14:32:04 2022 +0000 (2022-04-09)
parents
children
rev   line source
al@19489 1 [Adobe Integrated Runtime (AIR)](https://en.wikipedia.org/wiki/Adobe_Integrated_Runtime)
al@19489 2 is a cross-platform runtime environment developed by Adobe Systems for building
al@19489 3 rich Internet applications using Adobe Flash, Adobe Flex, HTML, or Ajax, that
al@19489 4 can be deployed as desktop applications.
al@19489 5
al@19489 6
al@19489 7 Installing an AIR Application
al@19489 8 -----------------------------
al@19489 9
al@19489 10 Download the application, and unzip it to `/opt/airapps/<appname>`. To run it
al@19489 11 you can use the command
al@19489 12
al@19489 13 $ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/<Application name>/META-INF/AIR/application.xml /opt/airapps/<Application name>/
al@19489 14
al@19489 15
al@19489 16 Making it executable
al@19489 17 --------------------
al@19489 18
al@19489 19 You can also make an executable by creating a file in /usr/local/bin:
al@19489 20
al@19489 21 #!/usr/bin/sh
al@19489 22 /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/<Application name>/META-INF/AIR/application.xml /opt/airapps/<Application name>/
al@19489 23
al@19489 24 The app might need parameters (voddler) so then the script can look like:
al@19489 25
al@19489 26 #!/usr/bin/sh
al@19489 27 /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/<Application name>/META-INF/AIR/application.xml /opt/airapps/<Application name>/ -- ${@}
al@19489 28
al@19489 29 Then chmod the file so that it can execute:
al@19489 30
al@19489 31 $ chmod +x filename
al@19489 32
al@19489 33 Now you have installed an application in AIR. Yes it is this silly :P
al@19489 34
al@19489 35
al@19489 36 Removing the application
al@19489 37 ------------------------
al@19489 38
al@19489 39 Delete the application folder in `/opt/airapps`. Also delete the executable if
al@19489 40 you created one.
al@19489 41
al@19489 42
al@19489 43 Running binaries that use AIR
al@19489 44 -----------------------------
al@19489 45
al@19489 46 Some applications using Adobe AIR can come with their own binaries included. In
al@19489 47 this case, it's often better to run these binaries, rather than bypassing them
al@19489 48 using adl, to not lose any extra functionality these binaries might provide.
al@19489 49 These binaries will require some work however, before they can be used with the
al@19489 50 Adobe AIR SDK.
al@19489 51
al@19489 52 First of all, binaries will look for Adobe AIR, rather than the Adobe AIR SDK.
al@19489 53 There seems to be no way to change where to look, so you're going to have to
al@19489 54 symlink the Adobe AIR runtime provided with the SDK to the default location
al@19489 55 that binaries follow:
al@19489 56
al@19489 57 # ln -s /opt/adobe-air-sdk/runtimes/air/linux/Adobe\ AIR/ /opt/Adobe\ AIR
al@19489 58
al@19489 59 With this, the binaries should be able to detect your Adobe AIR installation.
al@19489 60 It will leave you with two Adobe AIR folders in /opt, which is dirty but there
al@19489 61 seems to be no way around this for now.
al@19489 62
al@19489 63 Another problem you'll run into is that whenever the AIR runtime starts a
al@19489 64 process, it'll check whether you have accepted the EULA, something that is not
al@19489 65 included with the SDK. Since it can't determine that you did, it then tries to
al@19489 66 run the Adobe AIR Updater, which is ALSO not included in the SDK runtime,
al@19489 67 causing the binary to fail and hang. To avoid this you're going to have to
al@19489 68 manually accept the EULA.
al@19489 69
al@19489 70 Warning: By creating the following file you are most likely accepting the
al@19489 71 [Adobe AIR End User License Agreement](http://www.adobe.com/products/eulas/air_eula.html).
al@19489 72 Make sure to read this agreement, and do not perform this work-around if you do
al@19489 73 not agree with it.
al@19489 74
al@19489 75
al@19489 76 To manually accept the EULA, use this command:
al@19489 77
al@19489 78 echo -n 2 > ~/.appdata/Adobe/AIR/eulaAccepted
al@19489 79
al@19489 80 After this, you should clear the check and the binary should run normally.
al@19489 81
al@19489 82 ---
al@19489 83
al@19489 84 This information has been shamelessly copied from this page:
al@19489 85 https://wiki.archlinux.org/index.php/Adobe_AIR
al@19489 86
al@19489 87 Content is available under GNU Free Documentation License 1.3 or later unless
al@19489 88 otherwise noted.