BackgroundMusic/pkg/Distribution.xml.template
Kyle Neideck 8de821d4aa
Add an archive option (-a) to build_and_install.sh.
Archiving is the standard way to build a release for distribution using
Xcode. package.sh now uses this option when it creates a release
package.

This change is mainly to keep the Run settings in the Xcode schemes from
affecting the release builds, which means we can commit the schemes with
more sensible settings.

Also, disable AddressSanitizer in the BGMDevice scheme, which was
stopping coreaudiod from launching because its sandbox won't allow the
process to load the AddressSanitizer dylib.
2020-02-05 00:09:14 +11:00

45 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-gui-script minSpecVersion="1">
<title>Background Music {{VERSION}}</title>
<volume-check>
<allowed-os-versions>
<!-- TODO: Get this from the Xcode project files instead of hardcoding it. -->
<os-version min="10.9" />
</allowed-os-versions>
</volume-check>
<!--
Do not specify <domains>.
Installer does not show "OS X version X.Y.Z or later is required" message when <domains> exists.
<domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true" />
-->
<pkg-ref id="com.bearisdriving.BGM"/>
<options customize="never" require-scripts="false" />
<choices-outline>
<line choice="default">
<line choice="com.bearisdriving.BGM" />
</line>
</choices-outline>
<choice id="default"/>
<choice id="com.bearisdriving.BGM" visible="false">
<pkg-ref id="com.bearisdriving.BGM" />
</choice>
<pkg-ref id="com.bearisdriving.BGM" version="{{VERSION}}">Installer.pkg</pkg-ref>
<pkg-ref id="com.bearisdriving.BGM">
<must-close>
<app id="com.bearisdriving.BGM.App" />
</must-close>
</pkg-ref>
<background file="FermataIcon.pdf" alignment="bottomleft" mime-type="application/pdf" />
</installer-gui-script>