<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>ChiaKey</title>
    <options customize="allow" require-scripts="false" hostArchitectures="arm64,x86_64"/>
    <!-- Per-user only: installs into ~/Library/Input Methods with no admin prompt.
       System-wide installs go through the CLI (see README), not this GUI. -->
    <domains enable_anywhere="false" enable_currentUserHome="true" enable_localSystem="false"/>
    <background file="InstallerBackground.png" mime-type="image/png" alignment="bottomleft" scaling="tofit"/>
    <background-darkAqua file="InstallerBackgroundDark.png" mime-type="image/png" alignment="bottomleft" scaling="tofit"/>
    <welcome file="Welcome.html" mime-type="text/html"/>
    <license file="License.txt" mime-type="text/plain"/>
    <conclusion file="Conclusion.txt" mime-type="text/plain"/>
    <choices-outline>
        <line choice="default"/>
    </choices-outline>
    <choice id="default" title="ChiaKey Input Method" description="Install the ChiaKey input method.">
        <pkg-ref id="com.chiakey.inputmethod.ChiaKey.component"/>
    </choice>
    <!-- No auth attribute: authorization follows the install domain, so the
       per-user home install needs no root. -->
    <pkg-ref id="com.chiakey.inputmethod.ChiaKey.component" version="1.2.3" installKBytes="90024" updateKBytes="0">#ChiaKey-component-clean.pkg</pkg-ref>
    <pkg-ref id="com.chiakey.inputmethod.ChiaKey.component">
        <bundle-version>
            <bundle CFBundleVersion="1.2.3" id="com.chiakey.inputmethod.ChiaKey.Preferences" path="Library/Input Methods/ChiaKey.app/Contents/SharedSupport/Preferences.app"/>
            <bundle CFBundleVersion="1.1.4" id="com.chiakey.inputmethod.ChiaKey.Updater" path="Library/Input Methods/ChiaKey.app/Contents/SharedSupport/Updater.app"/>
            <bundle CFBundleVersion="1.1.3" id="com.chiakey.inputmethod.ChiaKey.PhraseEditor" path="Library/Input Methods/ChiaKey.app/Contents/SharedSupport/PhraseEditor.app"/>
            <bundle CFBundleVersion="1.2.3" id="com.chiakey.inputmethod.ChiaKey" path="Library/Input Methods/ChiaKey.app"/>
            <bundle CFBundleVersion="1.0" id="com.lithoglyph.LFExtensions" path="Library/Input Methods/ChiaKey.app/Contents/Frameworks/LFExtensions.framework"/>
            <bundle CFBundleVersion="1.0.0" id="org.openvanilla.framework" path="Library/Input Methods/ChiaKey.app/Contents/Frameworks/OpenVanilla.framework"/>
        </bundle-version>
    </pkg-ref>
    <product id="com.chiakey.inputmethod.ChiaKey.pkg" version="1.2.3"/>
</installer-gui-script>