<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>BLE-dimix</title>
    <options customize="never" require-scripts="false" rootVolumeOnly="true" hostArchitectures="arm64,x86_64"/>
    <volume-check>
        <allowed-os-versions>
            <os-version min="13.0"/>
        </allowed-os-versions>
    </volume-check>
    <!-- Порядок важен: сначала ставится драйвер Karabiner (демон, Manager, .dext),
         затем наш пакет, postinstall которого ссылается на установленный демон. -->
    <choices-outline>
        <line choice="default">
            <line choice="org.pqrs.Karabiner-DriverKit-VirtualHIDDevice"/>
            <line choice="dimix.ble-dimix"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="org.pqrs.Karabiner-DriverKit-VirtualHIDDevice" visible="false">
        <pkg-ref id="org.pqrs.Karabiner-DriverKit-VirtualHIDDevice"/>
    </choice>
    <choice id="dimix.ble-dimix" visible="false">
        <pkg-ref id="dimix.ble-dimix"/>
    </choice>
    <pkg-ref id="org.pqrs.Karabiner-DriverKit-VirtualHIDDevice" version="7.3.0" installKBytes="4758" updateKBytes="0">#Karabiner-DriverKit-VirtualHIDDevice-7.3.0.pkg</pkg-ref>
    <pkg-ref id="dimix.ble-dimix" version="1.0" installKBytes="2110" updateKBytes="0">#ble-dimix.pkg</pkg-ref>
    <pkg-ref id="org.pqrs.Karabiner-DriverKit-VirtualHIDDevice">
        <bundle-version>
            <bundle CFBundleShortVersionString="7.3.0" CFBundleVersion="7.3.0" id="org.pqrs.Karabiner-VirtualHIDDevice-Manager" path="Applications/.Karabiner-VirtualHIDDevice-Manager.app"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="dimix.ble-dimix">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0" CFBundleVersion="1" id="dimix.BLE-dimix" path="Applications/BLE-dimix.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>