{
    "version": "2.0",
    "description": "A powerful, stable and lightweight programmer's text editor that provides tons of useful features without bogging down your workflow.",
    "homepage": "https://www.geany.org/",
    "license": "GPL-2.0-or-later",
    "url": "https://download.geany.org/geany-2.0_setup.exe#/dl.7z",
    "hash": "fdc3e8d183533ae0c87ff3c2b035166e6a4d31379a2014320abd552d5558d8e9",
    "pre_install": "Remove-Item \"$dir\\`$*\", \"$dir\\uninst*\" -Recurse",
    "installer": {
        "script": [
            "if (Test-Path -Path $(appdir geany-plugins $global)) {",
            "  Get-ChildItem \"$(appdir geany-plugins $global)\\current\" -Exclude install.json, manifest.json |",
            "  Copy-Item -Destination $dir -Recurse -Force",
            "}"
        ]
    },
    "bin": "bin\\geany.exe",
    "shortcuts": [
        [
            "bin\\geany.exe",
            "Geany"
        ]
    ],
    "checkver": {
        "url": "https://download.geany.org/",
        "regex": "LATEST-IS-([\\d.]+)"
    },
    "autoupdate": {
        "url": "https://download.geany.org/geany-$version_setup.exe#/dl.7z",
        "hash": {
            "url": "$baseurl/SHA256SUMS"
        }
    }
}
