mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 15:21:18 +00:00
44 lines
1.8 KiB
JSON
44 lines
1.8 KiB
JSON
{
|
|
"version": "3.0.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.0.1/ipinfo_3.0.1_windows_386.zip",
|
|
"hash": "f63a151eea40cd57bcf5cb43dfafb6f83ea1d72eb3cd574de296db9932364ed4"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.0.1/ipinfo_3.0.1_windows_amd64.zip",
|
|
"hash": "6aa6c3a620154d30b401ff81b63ec057a282444faa54c304278130e3cae91854"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.0.1/ipinfo_3.0.1_windows_arm.zip",
|
|
"hash": "f67fcd6d11d8e87d925932d90c43e25de8b82c9fd8bdce7fb54f06c2d9f3492a"
|
|
}
|
|
},
|
|
"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/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"
|
|
}
|
|
}
|
|
}
|
|
}
|