Make a separate PKG build so we can have APP bundles with and without embedded JRE (i.e. no embedded JRE for brew cask automatic install)

This commit is contained in:
Reinhard Pointner 2018-06-24 02:31:58 +07:00
parent eb247bac61
commit 3d94f36686
1 changed files with 1 additions and 1 deletions

View File

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