<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <pkg-ref id="com.yourdolphin.EasyReader">
        <bundle-version>
            <bundle CFBundleShortVersionString="11.04" CFBundleVersion="478" id="com.yourdolphin.EasyReader" path="EasyReader.app"/>
        </bundle-version>
    </pkg-ref>
    <title>Dolphin EasyReader - Mac Intel (x86_64)</title>
    <welcome file="welcome.html" mime-type="text/html"/>
    <script><![CDATA[
        function is_arm() {
            if(system.sysctl("machdep.cpu.brand_string").includes("Apple")) {
                return true;
            }
            return false;
        }
        
        ]]></script>
    <options customize="never" require-scripts="false" rootVolumeOnly="true" hostArchitectures="x86_64"/>
    <volume-check>
        <allowed-os-versions>
            <os-version min="10.15.4"/>
        </allowed-os-versions>
    </volume-check>
    <choices-outline>
        <line choice="default"/>
    </choices-outline>
    <choice id="default" title="Mac - Intel (x86_64)" enabled="false" selected="!is_arm()">
        <pkg-ref id="com.yourdolphin.EasyReader"/>
    </choice>
    <pkg-ref id="com.yourdolphin.EasyReader" version="11.4.0" onConclusion="none" installKBytes="37524">#EasyReader.pkg</pkg-ref>
</installer-gui-script>