Adobe Air Export related question
hi team ,
we have application source files exported adobe air format u.
seeing file size differences in exported formats uisng mac and windows with same packaged source files .
- when use mac , export air application observing air installer created 150mb.
- when performing same windows observing exported app application of 100 mb
did 1 of encounter / come across similar kind of observations while working on adobe air applications desktop development.
please advise .
thanks
leela
yes, captive runtime of air spectacularly bloated, on osx. assume adt package target native installer? if target instead native bundle, air framework lying in folders examine , cringe.
the packaged adobe air dylib goddammed 27 mb:
yourapp.app/contents/frameworks/adobe air.framework/versions/1.0/adobe air
adobe air: mach-o dynamically linked shared library i386
-rwxr-xr-x 1 john staff 27574016 mar 1 23:42 adobe air
the fun doesn't stop there. thing comes packed 23 mb flash player plugin, 8 mb adobecp plugin, 7 mb webkit.dylib well, along bunch of other unnecessary files , folders here:
yourapp.app/contents/frameworks/adobe air.framework/resources
i have ant task cleanup folder prior creating installer;
<target name="purge-macos-bundle">
<fail unless="air.dir" />
<delete verbose="false" file="${air.dir}/webkit.dylib" />
<delete verbose="false" file="${air.dir}/adobecp.vch" />
<delete verbose="false" dir="${air.dir}/adobecp15.plugin" />
<delete verbose="false" dir="${air.dir}/flash player.plugin" />
<delete verbose="false" dir="${air.dir}/adobecp.plugin" />
<delete verbose="false" dir="${air.dir}/cs.lproj" />
<delete verbose="false" dir="${air.dir}/nl.lproj" />
<delete verbose="false" dir="${air.dir}/sv.lproj" />
<delete verbose="false" dir="${air.dir}/tr.lproj" />
<delete verbose="false" dir="${air.dir}/ja.lproj" />
<delete verbose="false" dir="${air.dir}/ko.lproj" />
<delete verbose="false" dir="${air.dir}/it.lproj" />
<delete verbose="false" dir="${air.dir}/pt.lproj" />
<delete verbose="false" dir="${air.dir}/es.lproj" />
<delete verbose="false" dir="${air.dir}/fr.lproj" />
<delete verbose="false" dir="${air.dir}/ru.lproj" />
<delete verbose="false" dir="${air.dir}/pl.lproj" />
<delete verbose="false" dir="${air.dir}/zh_hans.lproj" />
<delete verbose="false" dir="${air.dir}/zh_hant.lproj" />
</target>
which call task this:
<antcall target="purge-macos-bundle">
<param name="air.dir" value="${bundle.dir}/contents/frameworks/adobe air.framework/versions/1.0/resources/" />
</antcall>
this helps, don't know outrageous "adobe air" dylib.
More discussions in Archived Spaces
adobe
Comments
Post a Comment