Skip to content

Instantly share code, notes, and snippets.

@shspage
Last active September 15, 2022 01:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shspage/493d3d119bd2c7a3e83d1fed1187a327 to your computer and use it in GitHub Desktop.
Save shspage/493d3d119bd2c7a3e83d1fed1187a327 to your computer and use it in GitHub Desktop.
Illustrator用ハイブリッドzxpのmxiファイル

インストールに成功したIllustrator用ハイブリッドzxpのmxiファイル。
ディレクトリ構造はこんなだ。comboMoverUI.zxpはHTMLエクステンション部分単体で作成したzxp。

  • comboMover
    • comboMoverUI.mxi
    • comboMoverUI.zxp
    • mac
      • comboMover.aip
    • win64
      • comboMover.aip

参考資料:
http://wwwimages.adobe.com/content/dam/acom/en/devnet/cs-extension-builder/pdfs/CC_Extension_SDK.pdf
elements-storage/ZXPInstaller#48

最初は前者に従って作ったつもりだけどうまくいかなかった。後者の質問者の方がおそらく単純な手違いでインストールに失敗してなかったら諦めていたかもしれない。
descriptionとlicense-agreemnetはインストーラーで表示されないので埋めても無意味だった。ので一部省略している。

zxp生成コマンドは通常のzxpと同じ。
./ZXPSignCmd -sign comboMover comboMover.zxp <self_signed_cert>.p12 <password>

追記 2022.04.05

mxiファイルの仕様 https://helpx.adobe.com/extension-manager/kb/general-mxi-elements.html

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<macromedia-extension name="com.shspage.csxs.comboMover" requires-restart="true" version="1.0.5.0">
<author name="shspage"/>
<description><![CDATA[comboMover is a plug-in for Adobe Illustrator 2020 (Mac/Win).
While thi ... cess securely.]]></description>
<license-agreement><![CDATA[The author grants ... this plug-in.]]></license-agreement>
<products>
<product familyname="Illustrator" maxversion="" primary="true" version="24.0"/>
</products>
<files>
<file destination="" file-type="CSXS" products="Illustrator,Illustrator64" source="comboMoverUI.zxp" maxVersion="24.9" minVersion="24.0"/>
<file destination="$plugin" platform="mac" products="Illustrator" source="mac/comboMover.aip" maxVersion="24.9" minVersion="24.0"/>
<file destination="$plugin" platform="win" products="Illustrator64" source="win64/comboMover.aip" maxVersion="24.9" minVersion="24.0"/>
</files>
</macromedia-extension>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment