<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-gui-script minSpecVersion="1">
    <title>Duplicati</title>
    <organization>com.duplicati</organization>

    <license file="LICENSE.html"/>

    <pkg-ref id="com.duplicati.app"/>
    <pkg-ref id="com.duplicati.app.daemon"/>

    <options require-scripts="false" hostArchitectures="$HOSTARCH"/>
    <choices-outline>
        <line choice="com.duplicati.app"/>
        <line choice="com.duplicati.app.daemon"/>
    </choices-outline>

    <choice id="com.duplicati.app" title="Duplicati App" description="The main Duplicati App" start_selected="true" enabled="false" visible="false">
        <pkg-ref id="com.duplicati.app"/>
    </choice>

    <choice id="com.duplicati.app.daemon" title="Launch at login" description="Starts Duplicati automatically when you log in" start_selected="true">
        <pkg-ref id="com.duplicati.app.daemon"/>
    </choice>
    
    <pkg-ref id="com.duplicati.app" version="0" onConclusion="none">DuplicatiApp.pkg</pkg-ref>
    <pkg-ref id="com.duplicati.app.daemon" version="0" onConclusion="none">DuplicatiDaemon.pkg</pkg-ref>
</installer-gui-script>