BackgroundMusic/pkg/Distribution.xml.template
Kyle Neideck 48bdcd1a64
Allow installation when Rosetta 2 isn't installed.
If you didn't have Rosetta 2 installed, the Background Music installer
would tell you that it's required and prompt you to install it.
Background Music doesn't actually need Rosetta 2; macOS just assumes
that it does unless told otherwise.
2024-05-13 13:36:51 +10:00

45 lines
1.4 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.13" />
</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" hostArchitectures="arm64,x86_64" />
<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>