creativemarket / csxs

A build tool for Adobe® Creative Suite® extensions. Create, compile, debug, package, & deploy to S3 with ease!
84 stars 11 forks source link

Bundling host adapters #9

Open evgenytr opened 11 years ago

evgenytr commented 11 years ago

Can't get host adapter plugins to be bundled with extension. I don't see option in csxs.json to include them, so I have manually edited .mxi file as follows (all adapters are in the project folder/aihostadapter):

<files>
        {{{list-files}}}
        <file destination="$plugin/Extensions" maxVersion="15.1" minVersion="15.0" platform="win" products="Illustrator" shared="true" source="./aihostadapter/win/AIHostAdapter.aip"/>
        <file destination="$plugin/Extensions" minVersion="16.0" platform="win" products="Illustrator32" shared="true" source="./aihostadapter/win32/AIHostAdapter.aip"/>
        <file destination="$plugin/Extensions" minVersion="16.0" platform="win" products="Illustrator64" shared="true" source="./aihostadapter/win64/AIHostAdapter.aip"/>
            <file destination="$plugin/Extensions.localized" minVersion="17.0" maxVersion="17.9" platform="mac" products="Illustrator" shared="true" source="./aihostadapter/mac/AIHostAdapter.aip"/>
        <file destination="$plugin/Extensions.localized" maxVersion="16.9" minVersion="16.0" platform="mac" products="Illustrator" shared="true" source="./aihostadapter/mac/AIHostAdapter.aip"/>
        <file destination="$plugin/Extensions" maxVersion="15.0" minVersion="15.0" platform="mac" products="Illustrator" source="./aihostadapter/mac/cs5/AIHostAdapter.aip"/>
        <file destination="$plugin/Extensions" maxVersion="15.1" minVersion="15.1" platform="mac" products="Illustrator" source="./aihostadapter/mac/cs5.5/AIHostAdapter.aip"/>
    </files>

unfortunately, during compilation 'aihostadapter' folder is not copied into temporary folder, hence .aip files are missing, and install fails