{
    "version": "1.12.4",
    "description": "Utility for comparing and merging files and directories",
    "homepage": "https://apps.kde.org/kdiff3/",
    "license": "GPL-2.0-only",
    "architecture": {
        "64bit": {
            "url": "https://download.kde.org/stable/kdiff3/kdiff3-1.12.4-windows-x86_64.exe#/dl.7z",
            "hash": "2d58b4d675934290146faf08a239788ffc36fd6ac2c480456100fb1d8ab2bb16"
        }
    },
    "pre_install": [
        "Expand-7zipArchive \"$dir\\kdiff3*.7z\" -Removal",
        "Remove-Item \"$dir\\`$*\", \"$dir\\uninst*\", \"$dir\\7za.exe\" -Recurse"
    ],
    "bin": "bin\\kdiff3.exe",
    "shortcuts": [
        [
            "bin\\kdiff3.exe",
            "KDiff3"
        ]
    ],
    "checkver": {
        "url": "https://download.kde.org/stable/kdiff3/?C=M;O=D",
        "regex": "(?<file>kdiff3-(?<version>[\\d.]+(\\w)?)-windows(-cl|-(x86_)?64)+)\\.exe"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://download.kde.org/stable/kdiff3/$matchFile.exe#/dl.7z"
            }
        },
        "hash": {
            "url": "$url.sha256"
        }
    }
}
