neofetch: fix autoupdate URL

This commit is contained in:
Ross Smith II 2019-06-17 14:33:56 -07:00
parent bc5de1d716
commit 30ddfe9b40

View File

@ -1,9 +1,9 @@
{ {
"homepage": "https://github.com/dylanaraps/neofetch", "homepage": "https://github.com/dylanaraps/neofetch",
"license": "MIT", "license": "MIT",
"version": "5.0.0", "version": "6.0.0",
"url": "https://github.com/dylanaraps/neofetch/releases/download/5.0.0/neofetch", "url": "https://raw.githubusercontent.com/dylanaraps/neofetch/6.0.0/neofetch",
"hash": "6aaa9826930c445ada70f80f444dce62f475a1f7b0d986ccd7f4576063b70706", "hash": "7bdcb5b51827b903a23311a101123242b3ab2df9499d8ebc238c44b01f608391",
"pre_install": [ "pre_install": [
"if(installed 'git-with-openssh') { $git = 'git-with-openssh' } else { $git = 'git' }", "if(installed 'git-with-openssh') { $git = 'git-with-openssh' } else { $git = 'git' }",
"Write-Output \"& `$(join-path `$(scoop prefix $git) 'bin\\bash.exe') `$(join-path `$psscriptroot 'neofetch') @args\" | Out-File \"$dir\\neofetch.ps1\" -encoding utf8" "Write-Output \"& `$(join-path `$(scoop prefix $git) 'bin\\bash.exe') `$(join-path `$psscriptroot 'neofetch') @args\" | Out-File \"$dir\\neofetch.ps1\" -encoding utf8"
@ -19,6 +19,6 @@
"github": "https://github.com/dylanaraps/neofetch" "github": "https://github.com/dylanaraps/neofetch"
}, },
"autoupdate": { "autoupdate": {
"url": "https://github.com/dylanaraps/neofetch/releases/download/$version/neofetch" "url": "https://raw.githubusercontent.com/dylanaraps/neofetch/$version/neofetch"
} }
} }