{
    "version": "2.7.12",
    "description": "Community fork of KeePass",
    "homepage": "https://keepassxc.org",
    "license": "GPL-2.0-only",
    "suggest": {
        "vcredist": "extras/vcredist2022"
    },
    "architecture": {
        "64bit": {
            "url": "https://github.com/keepassxreboot/keepassxc/releases/download/2.7.12/KeePassXC-2.7.12-Win64.zip",
            "hash": "958234b0669d757b53eacf42bdd5de0fa1cc1ab7527709ddf4f7e29c06a8305f",
            "extract_dir": "KeePassXC-2.7.12-Win64"
        }
    },
    "post_install": "if (Test-Path \"$persist_dir\\keepassxc.ini\") { Move-Item \"$persist_dir\\keepassxc.ini\" \"$dir\\config\" -Force }",
    "bin": [
        "KeePassXC.exe",
        "keepassxc-cli.exe",
        "keepassxc-proxy.exe"
    ],
    "shortcuts": [
        [
            "KeePassXC.exe",
            "KeePassXC"
        ]
    ],
    "persist": "config",
    "checkver": {
        "github": "https://github.com/keepassxreboot/keepassxc"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/keepassxreboot/keepassxc/releases/download/$version/KeePassXC-$version-Win64.zip",
                "extract_dir": "KeePassXC-$version-Win64"
            }
        },
        "hash": {
            "url": "$url.DIGEST"
        }
    }
}
