<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>Nolvra GLOAM 1.0.0</title>
    <!-- GLOAM is universal: both slices are in every Mach-O (release_sign.sh universal gate), so both are declared.
         verify_hostarch_covers_payload asks the shipped archive that the declaration and the payload agree. -->
    <options customize="always" require-scripts="false" hostArchitectures="arm64,x86_64"/>
    <volume-check>
        <allowed-os-versions>
            <os-version min="11.0"/>
        </allowed-os-versions>
    </volume-check>
    <background file="background.png" mime-type="image/png" scaling="none" alignment="bottomleft"/>
    <background-darkAqua file="background-darkAqua.png" mime-type="image/png" scaling="none" alignment="bottomleft"/>
    <welcome file="welcome.txt" mime-type="text/plain"/>
    <conclusion file="conclusion.txt" mime-type="text/plain"/>
    <!-- Home domain only: no administrator password, no "Select Destination" pane (RAW, measured). -->
    <domains enable_anywhere="false" enable_currentUserHome="true" enable_localSystem="false"/>
    <choices-outline>
        <line choice="vst3"/>
        <line choice="au"/>
        <line choice="licenses"/>
    </choices-outline>
    <choice id="vst3" title="VST3" description="Installs into Audio Plug-Ins/VST3." visible="true" start_selected="true">
        <pkg-ref id="com.nolvra.gloam.pkg.vst3"/>
    </choice>
    <choice id="au" title="Audio Unit" description="Installs into Audio Plug-Ins/Components." visible="true" start_selected="true">
        <pkg-ref id="com.nolvra.gloam.pkg.au"/>
    </choice>
    <choice id="licenses" title="Licenses" description="Third-party license texts. Required; installs into Application Support/Nolvra/GLOAM/Licenses." visible="true" start_selected="true" enabled="false">
        <pkg-ref id="com.nolvra.gloam.pkg.licenses"/>
    </choice>
    <pkg-ref id="com.nolvra.gloam.pkg.vst3" version="1.0.0" onConclusion="none" installKBytes="11036" updateKBytes="0">#vst3.pkg</pkg-ref>
    <pkg-ref id="com.nolvra.gloam.pkg.au" version="1.0.0" onConclusion="none" installKBytes="10957" updateKBytes="0">#au.pkg</pkg-ref>
    <pkg-ref id="com.nolvra.gloam.pkg.licenses" version="1.0.0" onConclusion="none" installKBytes="7" updateKBytes="0">#licenses.pkg</pkg-ref>
    <pkg-ref id="com.nolvra.gloam.pkg.vst3">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.0" CFBundleVersion="1.0.0" id="com.nolvra.gloam" path="Nolvra GLOAM.vst3"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.nolvra.gloam.pkg.au">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.0" CFBundleVersion="1.0.0" id="com.nolvra.gloam" path="Nolvra GLOAM.component"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.nolvra.gloam.pkg.licenses">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>