<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <title>Dusk Sentinel 0.2.0</title>
    <options customize="never" require-scripts="true" hostArchitectures="x86_64,arm64" rootVolumeOnly="true"/>
    <installation-check script="cpuCheck()"/>
    <script><![CDATA[
    function cpuCheck() {
      var arm = system.sysctl('hw.optional.arm64') == '1';
      if (arm && !true) { my.result.title = 'Wrong build for this Mac'; my.result.message = 'This is the Intel package. Download the Apple silicon installer.'; my.result.type = 'Fatal'; return false; }
      if (!arm && !true) { my.result.title = 'Wrong build for this Mac'; my.result.message = 'This is the Apple silicon package. Download the Intel installer.'; my.result.type = 'Fatal'; return false; }
      return true;
    }
  ]]></script>
    <welcome file="welcome.txt"/>
    <conclusion file="conclusion.txt"/>
    <choices-outline>
        <line choice="default">
            <line choice="services.duskengineering.sentinel"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="services.duskengineering.sentinel" visible="false">
        <pkg-ref id="services.duskengineering.sentinel"/>
    </choice>
    <pkg-ref id="services.duskengineering.sentinel" version="0.2.0" onConclusion="none" installKBytes="260885" updateKBytes="0">#component.pkg</pkg-ref>
    <pkg-ref id="services.duskengineering.sentinel">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>