<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <title>Huntress Agent</title>
    <background mime-type="image/png" file="banner.png" scaling="proportional"/>
    <background-darkAqua mime-type="image/png" file="banner.png" scaling="proportional"/>
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <allowed-os-versions>
        <os-version min="13.0.0"/>
    </allowed-os-versions>
    <options customize="never" require-scripts="false" hostArchitectures="x86_64,arm64"/>
    <domains enable_localSystem="true"/>
    <installation-check script="installCheck();"/>
    <script><![CDATA[
function installCheck() {
    if(!(system.compareVersions(system.version.ProductVersion, '13.0.0') >= 0)) {
        my.result.title = 'Unable to install';
        my.result.message = 'Huntress Agent requires macOS 13.0.0 or later.';
        my.result.type = 'Fatal';
        return false;
    }
    return true;
}
    ]]></script>
    <choices-outline>
        <line choice="default">
            <line choice="com.huntresslabs.pkg.agent"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="com.huntresslabs.pkg.agent" visible="false">
        <pkg-ref id="com.huntresslabs.pkg.agent"/>
    </choice>
    <pkg-ref id="com.huntresslabs.pkg.agent" version="0" onConclusion="none" installKBytes="110179" updateKBytes="0">#HuntressAgent.pkg</pkg-ref>
    <pkg-ref id="com.huntresslabs.pkg.agent">
        <bundle-version>
            <bundle CFBundleShortVersionString="0.14.166" CFBundleVersion="0.14.166" id="com.huntress.app" path="Huntress.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>