ãã£ã¹ããªã«ä¾åããªãAIRã¢ããªã±ã¼ã·ã§ã³å®è¡æ¹æ³
(2015/1/8)GNU/Linuxåãã®Adobe AIRã¯å»æ¢ãããæ¬è¨äºã®å 容ãå¤ãå 容ã¨ãªã£ã¦ããã
ãAdobe AIR 1.5のインストーラ使用時の使い方ãã¯Adobeãæä¾ããã¤ã³ã¹ãã¼ã©ã使ç¨ããå ´åã®ä½¿ãæ¹ã¨ãªããããAdobe AIR 1.5のインストール(準備とインストーラ関係)ãã§æ±ã£ã¦ããAIRã®ã¤ã³ã¹ãã¼ã©ã使ããªããã£ã¹ããªã®å ´åããã®æ¹æ³ã§ã¯ä½¿ããªãã
ããã
http://web.archive.org/web/20080920025032/http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=677&threadid=1349878&enterthread=y
ã®æ
å ±ã«ãããå¥éé
å¸ããã¦ããSDKã®ããã±ã¼ã¸ã«å«ã¾ããbin/adlã§.airãã¡ã¤ã«(ZIPå§ç¸®ããã¦ãã)å
ã®META-INF/AIR/application.xmlãéããã¨ã§ã¢ããªã±ã¼ã·ã§ã³ã®èµ·åãã§ãããã¨ãåãã£ãããããã¹ã¯ãããç°å¢ä¸ã®é¢é£ä»ãã®ä»çµã¿ãå©ç¨ãã¦Nautilusãªã©ã®GUIãã¡ã¤ã«ããã¼ã¸ã£ãã.airãã¡ã¤ã«ãéããã¨ã§ãã®AIRã¢ããªã±ã¼ã·ã§ã³ãèµ·åã§ããããã«ããããã®ã¹ã¯ãªããã¨é¢é£ä»ãè¨å®ãã¡ã¤ã«ç¾¤ãä½æããã
æºå
SDKã®ãã¦ã³ãã¼ããã¼ã¸ããGNU/Linuxåãã®SDKããã¦ã³ãã¼ãå¾/opt/AdobeAIRSDK/ã¸å±éãã¦ããã
é ç® | å¤ |
---|---|
ãã¡ã¤ã«ãµã¤ãº | 19,403,150ãã¤ã |
MD5 | 5dced4b26ec1606d794bc72cfd2cafb0 |
SHA-1 | 0a5dc95685103c81d25b559b15e3858034a58128 |
é ç® | å¤ |
---|---|
ãã¡ã¤ã«ãµã¤ãº | 19,686,708ãã¤ã |
MD5 | f1a3618595216fd3e4b99a16fb404a93 |
SHA-1 | d5687b41a92721cbb24aa3d34309a317f5eaf033 |
ã¹ã¯ãªãã
[ä»»æ]ãã¡ã¤ã«å: AIRRunner.sh ã©ã¤ã»ã³ã¹: MIT#! /bin/bash # AIRRunner.sh: Adobe AIR Application Runner # for Adobe AIR 1.5 on GNU/Linux # Licensed under MIT # (C) 2009 kakurasan # version 20090831 # Requirements: # * Adobe AIR SDK (AdobeAIRSDK.tbz2), unpacked to /opt/AdobeAIRSDK/ # * unzip # * zenity # THANKS: # * http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=677&threadid=1349878&enterthread=y#4911388 AIRSDKDIR=/opt/AdobeAIRSDK ADL=${AIRSDKDIR}/bin/adl PATH=/bin:/usr/bin die() { zenity --error --title "AIRRunner: Error" --text "${1}" exit 1 } # check if [[ ! -x /usr/bin/zenity ]]; then echo "Error: zenity is not installed" exit 1 fi [[ -x /usr/bin/unzip ]] || die "unzip is not installed" [[ -x "${ADL}" ]] || die "Cannot find adl (SDK not installed)" # input file if [[ ${#} -eq 1 ]]; then # relative path ==> absolute path AIRFILE="$(cd "$(dirname "${1}")" && pwd)/$(basename "${1}")" else AIRFILE=$(zenity --file-selection --title "Open .air file") if [[ ${?} -ne 0 ]]; then # cancel exit 0 fi fi [[ -f "${AIRFILE}" ]] || die "File \"${AIRFILE}\" does not exist" # tmpdir TMPDIR="$(mktemp --tmpdir -d AIRRunner.XXXXXXXX)" [[ ${?} -eq 0 ]] || die "cannot create tempdir" # unpack cd "${TMPDIR}" if ! unzip "${AIRFILE}"; then rm "${TMPDIR}" -fr die "Cannot unzip \"${AIRFILE}\"" fi if [[ ! -f "${TMPDIR}"/META-INF/AIR/application.xml ]]; then rm "${TMPDIR}" -fr die "Cannot find \"META-INF/AIR/application.xml\" in \"${AIRFILE}\"" fi # run "${ADL}" -nodebug "${TMPDIR}"/META-INF/AIR/application.xml "${TMPDIR}" # cleanup rm "${TMPDIR}" -fr # EOF
(2009/8/31)ä¸æãã£ã¬ã¯ããªã®å¦çãªã©ç´°ããé¨åã調æ´
ãã®ã¹ã¯ãªããã¯ãä¸æãã£ã¬ã¯ããªã«.airãã¡ã¤ã«ã®ä¸èº«ãå±éå¾[SDKã®ãã£ã¬ã¯ããª]/bin/adlã§ã¢ããªã±ã¼ã·ã§ã³ãå®è¡ããçµäºå¾ã«å
ã»ã©å±éããä¸æãã¡ã¤ã«ç¾¤ãæé¤ããã¨ããåä½ããã(ç¹ã«é£ãããã¨ã¯ãã¦ããªã)ã
使ãæ¹
- å¼æ°ãä»ããã«å®è¡ããå ´å: ãã¡ã¤ã«é¸æãã¤ã¢ãã°ãã.airãã¡ã¤ã«ãé¸æ
- å¼æ°ãä»ãã¦å®è¡ããå ´å: å¼æ°ã®.airãã¡ã¤ã«ãå®è¡
ãã¹ã¯ãããç°å¢ã¸ã®é¢é£ä»ã
以ä¸ã®ãã¡ã¤ã«ãå ¨ã¦é©åãªå ´æã«é ç½®ããæ¬è¨äºå¾ãã®ãç»é²ã»åæ ä½æ¥ãã«æ¸ããã³ãã³ããå®è¡ããå¿ è¦ããããèµ·åãã¡ã¤ã«
ãã¡ã¤ã«å: ~/.local/share/applications/airrunner.desktop(ä¸è¬ã¦ã¼ã¶ã»èªåç¨) ããã㯠/usr/share/applications/airrunner.desktop(å ¨ã¦ã¼ã¶ã§ä½¿ç¨)[Desktop Entry] Name=Adobe AIR Application Runner Comment=Adobe AIR Application Runner GenericName=Adobe AIR Application Runner Exec="[AIRRunner.shã®å ´æ(絶対ãã¹)]" Type=Application Terminal=false MimeType=application/vnd.adobe.air-application-installer-package+zip; Categories=X-None;
ã¹ã¯ãªããã[ãã¼ã ãã£ã¬ã¯ããª]/bin/以ä¸ã«é ç½®ããå ´åãExecè¡ã¯ã/home/[ã¦ã¼ã¶å]/bin/AIRRunner.shãã®ããã«ããã
ãã¡ã¤ã«ã®ç¨®é¡
ãã¡ã¤ã«å: ~/.local/share/mime/packages/AdobeAIR.xml(ä¸è¬ã¦ã¼ã¶ã»èªåç¨) ããã㯠/usr/share/mime/packages/AdobeAIR.xml(å ¨ã¦ã¼ã¶ã§ä½¿ç¨)<?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/vnd.adobe.air-application-installer-package+zip"> <comment>Adobe AIR Application</comment> <comment xml:lang="ja">Adobe AIRã¢ããªã±ã¼ã·ã§ã³</comment> <glob pattern="*.air"/> </mime-type> </mime-info>
ä¸èº«ã¯ZIPãªã®ã§ãã¸ãã¯*1ãPKããæ¡ä»¶ã«ä»ãå ãã¦ããããããããªãã
ç»é²ã»åæ ä½æ¥
è¨å®åæ ã®ããã®ã³ãã³ãã¯2ã¤å®è¡ããããã¢ããªã±ã¼ã·ã§ã³ã®å®è¡ããã¤ã¢ãã°ã端æ«ã«ã³ããããã¨ããã(ä¸è¬ã¦ã¼ã¶ã»èªåç¨) update-desktop-database ~/.local/share/applications/ update-mime-database ~/.local/share/mime/ (å ¨ã¦ã¼ã¶ã§ä½¿ç¨) gksudo update-desktop-database /usr/share/applications/ gksudo update-mime-database /usr/share/mime/
ããã¾ã§ãå®äºããã¨ãNautilusãªã©ã®GUIãã¡ã¤ã«ããã¼ã¸ã£ãã.airãã¡ã¤ã«ãããã«ã¯ãªãã¯ãããªã©ã®æä½ã§AIRã¢ããªã±ã¼ã·ã§ã³ãèµ·åã§ããããã«ãªãã
å¶ç´
以ä¸ã¯SDKããã±ã¼ã¸å ã®bin/adlãå©ç¨ããå½¢ã«ããã¦é¿ããããªãå¶ç´ã¨ãªãã- Webãã©ã¦ã¶ä¸ã§Flashã¯ãªãã¯ããAIRã¢ããªã±ã¼ã·ã§ã³ãã¤ã³ã¹ãã¼ã«ãããã¨ã¯ã§ããªã(ããå¿ è¦ããªã)ãããHTMLãã¼ã¸ã®ã½ã¼ã¹ã表示ãã¦ã.airãã¡ã¤ã«ã®URLã調ã¹ã¦ããç´æ¥ãã¦ã³ãã¼ãã»ä¿åããå¿ è¦ãããã
- ã¢ãããã¼ãæ©è½ã®ããã½ããã¦ã§ã¢ã§ãæ´æ°ã¯ã§ãã*2ãæ°ãããã¼ã¸ã§ã³ãåºãã¨éç¥ããã£ã¦ããé å¸ãµã¤ãããç´æ¥ææ°ãã¼ã¸ã§ã³ãå ¥æãã¦ããã¡ãã®.airãã¡ã¤ã«ãéããã¨ã§æ´æ°ãè¡ããã¨ã«ãªãã