1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-10 21:38:04 -05:00

Experiment with PKG package scripts

This commit is contained in:
Reinhard Pointner 2018-06-15 19:44:33 +07:00
parent e531bbedb5
commit 1721d155fd

View File

@ -475,10 +475,10 @@
</copy-replace> </copy-replace>
<exec executable="pkgbuild" dir="${dir.staging}" failonerror="yes"> <exec executable="pkgbuild" dir="${dir.staging}" failonerror="yes">
<arg line="@{package.name}.pkg --component ${application.name}.app --scripts installer/pkg/scripts" /> <arg line="@{package.name}.pkg --component ${dir.dist}/app/${application.name}.app --scripts installer/pkg/scripts" />
</exec> </exec>
<exec executable="productbuild" dir="${dir.staging}" failonerror="yes"> <exec executable="productbuild" dir="${dir.staging}" failonerror="yes">
<arg line="${dir.dist}/${release}.pkg --distribution dist/distribution.xml --package-path . --sign 'Developer ID Installer: ${package.company}'" /> <arg line="${dir.dist}/${release}.pkg --distribution distribution.xml --package-path . --sign 'Developer ID Installer: ${package.company}'" />
</exec> </exec>
</target> </target>