{
    "version": "2.0.7.103_canary_2024-04-19",
    "homepage": "https://www.duplicati.com/",
    "description": "A free, open source, backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers. This is the Canary release.",
    "license": "LGPL-2.1",
    "notes": [
        "If you want Dupilicati to run at the startup of your system, run: (requires administrator privileges)",
        "start \"$dir\\Duplicati.WindowsService.exe\" -Verb 'RunAs' -ArgumentList 'install'",
        "",
        "To remove Duplicati from startup, run: (requires administrator privileges)",
        "start \"$dir\\Duplicati.WindowsService.exe\" -Verb 'RunAs' -ArgumentList 'uninstall'"
    ],
    "url": "https://github.com/duplicati/duplicati/releases/download/v2.0.7.103-2.0.7.103_canary_2024-04-19/duplicati-2.0.7.103_canary_2024-04-19.zip",
    "hash": "3305708527a7bce7228adcaf642a7c3b525479ea7a4674bc4dd833fe40996cb8",
    "bin": [
        "Duplicati.CommandLine.exe",
        [
            "Duplicati.CommandLine.exe",
            "Duplicati-CLI"
        ],
        [
            "Duplicati.GUI.TrayIcon.exe",
            "Duplicati-GUI"
        ]
    ],
    "shortcuts": [
        [
            "Duplicati.GUI.TrayIcon.exe",
            "Duplicati Canary"
        ]
    ],
    "pre_uninstall": [
        "if (Get-Service -Name 'Duplicati' -ErrorAction 'SilentlyContinue') {",
        "    if (!(is_admin)) { error \"Admin rights required to remove Duplicati service\"; break }",
        "    Start-Process \"$dir\\Duplicati.WindowsService.exe\" -Wait -Verb 'RunAs' -ArgumentList 'uninstall' -WindowStyle 'Hidden'",
        "}"
    ],
    "checkver": {
        "url": "https://github.com/duplicati/duplicati/tags",
        "regex": "v(?<half>[\\d.]+)-([\\d.]+_canary_[\\d-]+)"
    },
    "autoupdate": {
        "url": "https://github.com/duplicati/duplicati/releases/download/v$matchHalf-$version/duplicati-$version.zip"
    }
}
