fx: Update to version 21.0.0, Fix autoupdate

This commit is contained in:
Issac Lin 2022-04-21 14:22:40 +08:00 committed by GitHub
parent 661d0ea31d
commit 0fbcfd04b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,21 +1,21 @@
{ {
"version": "20.0.2", "version": "21.0.0",
"description": "Terminal JSON viewer", "description": "Terminal JSON viewer",
"homepage": "https://github.com/antonmedv/fx", "homepage": "https://github.com/antonmedv/fx",
"license": "MIT", "license": "MIT",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/antonmedv/fx/releases/download/20.0.2/fx-win.exe.zip", "url": "https://github.com/antonmedv/fx/releases/download/21.0.0/fx_windows_amd64.exe",
"hash": "bc4a988d72e86abe777f38a1c888d1f0b17ef7ddd07346c7d9c0a427961b4f3b" "hash": "205e6a8bf9f24a9fdbbba78d8df046de13a87d4ce3689f4135a85c371458f5ba"
} }
}, },
"pre_install": "Rename-Item \"$dir\\fx-win.exe\" 'fx.exe'", "pre_install": "Rename-Item \"$dir\\fx_windows_amd64.exe\" 'fx.exe'",
"bin": "fx.exe", "bin": "fx.exe",
"checkver": "github", "checkver": "github",
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/antonmedv/fx/releases/download/$version/fx-win.exe.zip" "url": "https://github.com/antonmedv/fx/releases/download/$version/fx_windows_amd64.exe"
} }
} }
} }