{
    "version": "3.3.2",
    "description": "This is the official CLI for the IPinfo.io IP address API",
    "license": "Apache-2.0",
    "homepage": "https://github.com/ipinfo/cli",
    "architecture": {
        "32bit": {
            "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.2/ipinfo_3.3.2_windows_386.zip",
            "hash": "b5320d3b92f1075db5a1e0934aea23bcf2700fce4ed6f2256753da158450b4a9"
        },
        "64bit": {
            "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.2/ipinfo_3.3.2_windows_amd64.zip",
            "hash": "4dd90321cf023b941f8b53db4554cb83d8437879e890b9ecb2a7ca492b0556d3"
        },
        "arm64": {
            "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.2/ipinfo_3.3.2_windows_arm.zip",
            "hash": "4706f79352b85cbf76c21c24da90055d5b3b9d98018830493630fffddbbcc0ff"
        }
    },
    "pre_install": [
        "$exe_path = (Get-ChildItem -Path \"$original_dir\\*\" -Include \"*.exe\" -File)[0].FullName",
        "Rename-Item -Path \"${exe_path}\" -NewName \"ipinfo.exe\" -Force"
    ],
    "bin": "ipinfo.exe",
    "checkver": {
        "github": "https://api.github.com/repos/ipinfo/cli/releases/latest",
        "jsonpath": "$.name",
        "regex": "ipinfo-(?<version>.*)$"
    },
    "autoupdate": {
        "architecture": {
            "32bit": {
                "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-$version/ipinfo_$version_windows_386.zip"
            },
            "64bit": {
                "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-$version/ipinfo_$version_windows_amd64.zip"
            },
            "arm64": {
                "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-$version/ipinfo_$version_windows_arm.zip"
            }
        }
    }
}
