<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!--
  Distribution definition for CCIso-<version>.pkg (productbuild ‐‐distribution).
  Template: mkpkg.sh substitutes 0.1.7, CCIso-component.pkg and arm64,x86_64 (arm64,x86_64 or arm64).

  Installer flow for a zero-typing user (07 §6): 双击 → 继续 → 安装 → 密码 → 完成 → App 自动打开.
    title               CCIso
    welcome             welcome.html — one sentence: Claude 隔离：只走专用通道，不外漏
    customize="never"   no choices page
    rootVolumeOnly + domains enable_localSystem only  → no "destination select" page, system volume only
    allowed-os-versions min 13.0 (01 §9 / tauri.conf.json minimumSystemVersion)
    must-close          a running Ringhold is quit before the bundle is replaced (upgrades)
  No LaunchDaemon, no preinstall: the daemon is installed by the app on first "开启保护" (01 §6.1).
-->
<installer-gui-script minSpecVersion="2">
    <title>CCIso</title>
    <welcome file="welcome.html" mime-type="text/html"/>
    <options customize="never" require-scripts="false" rootVolumeOnly="true" hostArchitectures="arm64,x86_64"/>
    <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
    <volume-check>
        <allowed-os-versions>
            <os-version min="13.0"/>
        </allowed-os-versions>
    </volume-check>
    <product id="app.ringhold.desktop" version="0.1.7"/>
    <choices-outline>
        <line choice="default">
            <line choice="app.ringhold.desktop"/>
        </line>
    </choices-outline>
    <choice id="default" title="CCIso" versStr="0.1.7"/>
    <choice id="app.ringhold.desktop" title="CCIso" visible="false">
        <pkg-ref id="app.ringhold.desktop"/>
    </choice>
    <pkg-ref id="app.ringhold.desktop" version="0.1.7" onConclusion="none">#CCIso-component.pkg</pkg-ref>
    <pkg-ref id="app.ringhold.desktop" installKBytes="187988" updateKBytes="0">
        <must-close>
            <app id="app.ringhold.desktop"/>
        </must-close>
        <bundle-version>
            <bundle CFBundleShortVersionString="0.1.7" CFBundleVersion="0.1.7" id="app.ringhold.desktop" path="CCIso.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>