nali: Update to version 0.3.9, fix version detection in url (#3499)

This commit is contained in:
devome 2022-04-15 13:00:45 +08:00 committed by GitHub
parent 941f097355
commit bc73314574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,16 @@
{
"version": "0.3.8",
"version": "0.3.9",
"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/0.3.8/nali-windows-amd64-0.3.8.zip",
"hash": "29492fce99ef7c921f79ed024df66b4b7c20db9e16c846f99afe0f79c5a516cc"
"url": "https://github.com/zu1k/nali/releases/download/v0.3.9/nali-windows-amd64-v0.3.9.zip",
"hash": "c19922c589574ae811c452a08fe88df046a413b5bcef70f533e5173a018b4ab9"
},
"32bit": {
"url": "https://github.com/zu1k/nali/releases/download/0.3.8/nali-windows-386-0.3.8.zip",
"hash": "3c72b3ee9a870c7f9ec462015e37d54c653eb0cf7489b8cb133a11c11eb4a619"
"url": "https://github.com/zu1k/nali/releases/download/v0.3.9/nali-windows-386-v0.3.9.zip",
"hash": "0e0cefd5e6a8e79df799db69a914a0fddb7ba6bca3373b863ee0658051121f9a"
}
},
"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/$version/nali-windows-amd64-$version.zip"
"url": "https://github.com/zu1k/nali/releases/download/v$version/nali-windows-amd64-v$version.zip"
},
"32bit": {
"url": "https://github.com/zu1k/nali/releases/download/$version/nali-windows-386-$version.zip"
"url": "https://github.com/zu1k/nali/releases/download/v$version/nali-windows-386-v$version.zip"
}
}
}