nali: Update to version 0.3.5, fix version detection in url (#3112)

This commit is contained in:
devome 2021-12-21 14:05:32 +08:00 committed by GitHub
parent 10e9945ad4
commit 45af2cd227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,16 @@
{
"version": "0.3.2",
"version": "0.3.5",
"description": "An offline tool for querying IP geographic information and CDN provider",
"homepage": "https://github.com/zu1k/nali",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/zu1k/nali/releases/download/v0.3.2/nali-windows-amd64-v0.3.2.zip",
"hash": "08be28c21345d82e577f0100289aa22a0134125bb440a543d668df97740e97df"
"url": "https://github.com/zu1k/nali/releases/download/0.3.5/nali-windows-amd64-0.3.5.zip",
"hash": "7384a9e78e23828c7beed89e706b0511bf64838c48b44968b01334c741fb411b"
},
"32bit": {
"url": "https://github.com/zu1k/nali/releases/download/v0.3.2/nali-windows-386-v0.3.2.zip",
"hash": "22e10fc3fa61725353e550e11cb142949ba786c605baff7ec4faa486c7bbc2aa"
"url": "https://github.com/zu1k/nali/releases/download/0.3.5/nali-windows-386-0.3.5.zip",
"hash": "0572d9d1deb8a7e04f03b12ce24335d42521b6c0a6c6dbecdace8f9053931c71"
}
},
"pre_install": "(Get-ChildItem \"$dir\\nali*.exe\")[0] | Rename-Item -NewName 'nali.exe'",
@ -19,10 +19,10 @@
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/zu1k/nali/releases/download/v$version/nali-windows-amd64-v$version.zip"
"url": "https://github.com/zu1k/nali/releases/download/$version/nali-windows-amd64-$version.zip"
},
"32bit": {
"url": "https://github.com/zu1k/nali/releases/download/v$version/nali-windows-386-v$version.zip"
"url": "https://github.com/zu1k/nali/releases/download/$version/nali-windows-386-$version.zip"
}
}
}