Refactor MAS build

This commit is contained in:
Reinhard Pointner 2018-06-24 02:03:53 +07:00
parent 916ed630ff
commit 7631e8cd5d
2 changed files with 5 additions and 3 deletions

View File

@ -147,7 +147,9 @@
<librarypath dir="${dir.lib}/native/mac-x86_64" />
<!-- include command-line tools -->
<librarypath dir="@{dir}/bin" />
<librarypath dir="@{dir}">
<include name="*.sh" />
</librarypath>
<bundledocument role="viewer" handlerRank="none" contentTypes="public.movie" name="Video file" />
<bundledocument role="viewer" handlerRank="none" contentTypes="public.audio" name="Audio file" />
@ -461,8 +463,8 @@
<target name="app" depends="revision" description="Build Mac app bundle">
<property name="dir.staging" location="${dir.dist}/app" />
<copy-replace todir="${dir.staging}/bin">
<fileset dir="${dir.installer}/app" includes="*.sh" />
<copy-replace todir="${dir.staging}">
<fileset dir="${dir.installer}/app" />
</copy-replace>
<create-app-bundle dir="${dir.staging}" deployment="app" runtime="no" license="yes" />