<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <domains enable_anywhere="false" enable_currentUserHome="true" enable_localSystem="true"/>
    <title>XTS Time Tracker</title>
    <pkg-ref id="com.Xenovex_Technologies_Pvt_Ltd.XtsTimeTracker">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.1.5.0" CFBundleVersion="1.1.5" id="com.Xenovex_Technologies_Pvt_Ltd.XtsTimeTracker" path="XTS Time Tracker.app"/>
        </bundle-version>
    </pkg-ref>
    <options customize="never" require-scripts="false" hostArchitectures="x86_64,arm64"/>
    <installation-check script="xtsArchCheck()"/>
    <script><![CDATA[
function xtsArchCheck() {
    if (system.sysctl("hw.optional.arm64") == 1) {
        my.result.type = "Fatal";
        my.result.title = "Wrong installer for this Mac";
        my.result.message = "This Mac has an Apple silicon (M1/M2/M3/M4) chip. Please install XtsTimeTracker-osx-arm64-Setup.pkg instead - this installer is for Intel Macs only.";
        return false;
    }
    return true;
}
    ]]></script>
    <choices-outline>
        <line choice="default">
            <line choice="com.Xenovex_Technologies_Pvt_Ltd.XtsTimeTracker"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="com.Xenovex_Technologies_Pvt_Ltd.XtsTimeTracker" visible="false">
        <pkg-ref id="com.Xenovex_Technologies_Pvt_Ltd.XtsTimeTracker"/>
    </choice>
    <pkg-ref id="com.Xenovex_Technologies_Pvt_Ltd.XtsTimeTracker" version="1.1.5" onConclusion="none" installKBytes="148315" updateKBytes="0">#1.pkg</pkg-ref>
</installer-gui-script>