<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!--
  Distribution for tiCryptConnect.pkg (make mac-pkg). The Makefile fills the version and the
  component package name (the two at-sign placeholders in the pkg-ref below) and hands the
  result to productbuild with this directory as resources.
  Before this file, productbuild built a bare distribution: the stock Installer window titled
  after the binary, no image, no text, and no check that the Mac can run the app at all.
  See claude-notes/macos_installer_branding_fix_v1_2026-09-25.md.
-->
<installer-gui-script minSpecVersion="2">
    <title>tiCrypt Connect</title>
    <organization>com.terainsights</organization>
    <!-- One choice, nothing to customise; refuse to open on a Mac that cannot run the app. -->
    <options customize="never" hostArchitectures="x86_64,arm64"/>
    <allowed-os-versions>
        <os-version min="11.0"/>
    </allowed-os-versions>
    <!-- System-wide (/Applications, administrator) or this user only (~/Applications). -->
    <domains enable_localSystem="true" enable_currentUserHome="true"/>
    <!-- TIFFs with 1x and 2x representations (make-background.sh), so the image is sharp on
         Retina displays; a plain PNG is drawn pixel-for-point and looks soft there. -->
    <background file="background.tiff" mime-type="image/tiff" alignment="bottomleft" scaling="none"/>
    <background-darkAqua file="background-darkAqua.tiff" mime-type="image/tiff" alignment="bottomleft" scaling="none"/>
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <choices-outline>
        <line choice="default">
            <line choice="com.terainsights.tiCryptConnect"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="com.terainsights.tiCryptConnect" visible="false">
        <pkg-ref id="com.terainsights.tiCryptConnect"/>
    </choice>
    <pkg-ref id="com.terainsights.tiCryptConnect" version="4.1.2" onConclusion="none" installKBytes="47420" updateKBytes="0">#tiCryptConnect-component.pkg</pkg-ref>
    <pkg-ref id="com.terainsights.tiCryptConnect">
        <bundle-version>
            <bundle CFBundleShortVersionString="4.1.2" CFBundleVersion="4.1.2" id="com.terainsights.tiCryptConnect" path="tiCrypt Connect.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>