mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 07:41:20 +00:00
44 lines
1.8 KiB
JSON
44 lines
1.8 KiB
JSON
{
|
|
"version": "3.2.0",
|
|
"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.2.0/ipinfo_3.2.0_windows_386.zip",
|
|
"hash": "3fde9e49d6061c85031ffd6fe2809375fb2e0043323e82a20c6bbd91e8b60d54"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/ipinfo_3.2.0_windows_amd64.zip",
|
|
"hash": "14e924260c31066d73496a35bd59a4e229701768e105645d5d191119f0685aaf"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/ipinfo_3.2.0_windows_arm.zip",
|
|
"hash": "7079d59774713841ba906d9d87686b81a56da88a8b7531281d9ddbf9e8107305"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|