osx package fixes: correct version, allow installation to any drive.

This commit is contained in:
John MacFarlane 2016-01-10 16:47:30 -08:00
parent a412104636
commit 6936a6a4e7
2 changed files with 4 additions and 4 deletions

View file

@ -60,7 +60,7 @@ echo Creating OSX package...
rm -rf $BASE.pkg
pkgbuild --root $DIST/pandoc --identifier net.johnmacfarlane.pandoc --version 1.13 --ownership recommended $DIST/pandoc.pkg
productbuild --distribution osx/distribution.xml --resources $DIST/Resources --package-path $DIST --version 1.13 --sign "Developer ID Installer: John Macfarlane" $BASE-osx.pkg
productbuild --distribution osx/distribution.xml --resources $DIST/Resources --package-path $DIST --version $VERSION --sign "Developer ID Installer: John Macfarlane" $BASE-osx.pkg
# verify signature
spctl --assess --type install $BASE-osx.pkg

View file

@ -2,8 +2,8 @@
<installer-gui-script minSpecVersion="1">
<title>pandoc</title>
<organization>net.johnmacfarlane.pandoc</organization>
<domains enable_localSystem="true"/>
<options customize="never" require-scripts="true" rootVolumeOnly="true" />
<domains enable_localSystem="true" enable_anywhere="true" />
<options customize="allow" require-scripts="false" rootVolumeOnly="false" />
<!-- Define documents displayed at various steps -->
<!-- <welcome file="welcome.html" mime-type="text/html" /> -->
<license file="license.html" mime-type="text/html" />
@ -11,7 +11,7 @@
<options hostArchitectures="x86_64" />
<!-- List all component packages -->
<pkg-ref id="net.johnmacfarlane.pandoc"
version="1.13"
version="1.16.0.1"
auth="root">pandoc.pkg</pkg-ref>
<!-- List them again here. They can now be organized
as a hierarchy if you want. -->