ScoopInstaller_Main/bucket/ipinfo-cli.json
2024-03-01 16:26:47 +00:00

44 lines
1.8 KiB
JSON

{
"version": "3.3.1",
"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.1/ipinfo_3.3.1_windows_386.zip",
"hash": "991954e6881715ba0788478309ad733ae3ec8588701021d38994c23b1fba8c78"
},
"64bit": {
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/ipinfo_3.3.1_windows_amd64.zip",
"hash": "fd72d65840c4f5e15767cf30d4aea8bd584e3e049fb81f0c8227c82c203b810f"
},
"arm64": {
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/ipinfo_3.3.1_windows_arm.zip",
"hash": "78032eacecf8364ab7f9064ebe08f2a2f30e261b82cc348bfaa84d7044fa8bae"
}
},
"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": {
"url": "https://api.github.com/repositories/306538237/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"
}
}
}
}