{
    "version": "1.2.0",
    "description": "This is the official CLI for the IP2Location.io IP geolocation API",
    "license": "MIT",
    "homepage": "https://github.com/ip2location/ip2location-io-cli",
    "architecture": {
        "32bit": {
            "url": "https://github.com/ip2location/ip2location-io-cli/releases/download/v1.2.0/ip2locationio_1.2.0_windows_386.zip",
            "hash": "3a3c76a3b8b60181300c266e2a381308f260bedd146c3779ad061083908b6e72"
        },
        "64bit": {
            "url": "https://github.com/ip2location/ip2location-io-cli/releases/download/v1.2.0/ip2locationio_1.2.0_windows_amd64.zip",
            "hash": "4585e59a747b1bcd314b93860962818bf29154fec5f4067da5a1d90f80320a31"
        },
        "arm64": {
            "url": "https://github.com/ip2location/ip2location-io-cli/releases/download/v1.2.0/ip2locationio_1.2.0_windows_arm.zip",
            "hash": "87c746c910e99bc56100eb43a8bdb8ea587372898b4e18f9090f538a1ba3171a"
        }
    },
    "pre_install": [
        "$exe_path = (Get-ChildItem -Path \"$original_dir\\*\" -Include \"*.exe\" -File)[0].FullName",
        "Rename-Item -Path \"${exe_path}\" -NewName \"ip2locationio.exe\" -Force"
    ],
    "checkver": "github",
    "bin": "ip2locationio.exe",
    "autoupdate": {
        "architecture": {
            "32bit": {
                "url": "https://github.com/ip2location/ip2location-io-cli/releases/download/v$version/ip2locationio_$version_windows_386.zip"
            },
            "64bit": {
                "url": "https://github.com/ip2location/ip2location-io-cli/releases/download/v$version/ip2locationio_$version_windows_amd64.zip"
            },
            "arm64": {
                "url": "https://github.com/ip2location/ip2location-io-cli/releases/download/v$version/ip2locationio_$version_windows_arm.zip"
            }
        }
    }
}
