nu: Fix au.url (#661)

* nu: Fix au.url

* Use arch.64bit
This commit is contained in:
Hsiao-nan Cheung 2019-12-23 16:29:08 +08:00 committed by Ross Smith II
parent 7993016d31
commit aa7684b6fd

View File

@ -1,16 +1,20 @@
{
"homepage": "https://www.nushell.sh",
"version": "0.5.0",
"version": "0.7.0",
"license": "MIT",
"description": "A modern shell written in Rust.",
"url": "https://github.com/nushell/nushell/releases/download/0_5_0/nu_0_5_0_windows.zip",
"hash": "3feb39d6a903e8a753380003c8d49144a5320637e114de766c034a0e9bd09baf",
"extract_dir": "nushell_0_5_0",
"architecture": {
"64bit": {
"url": "https://github.com/nushell/nushell/releases/download/0.7.0/nu_0_7_0_windows.zip",
"hash": "78581b89a861bbdcb015d854be8ecdc520d187fc8725004e2eecac3938c840fe",
"extract_dir": "nu_0_7_0_windows\\nushell_0_7_0",
"installer": {
"script": [
"New-Item \"$dir\\Plugins\" -ItemType Directory | Out-Null",
"Move-Item \"$dir\\nu_plugin_*\" \"$dir\\Plugins\""
]
}
}
},
"bin": "nu.exe",
"env_add_path": "Plugins",
@ -19,7 +23,7 @@
"regex": "([\\d.]+) Release</a>"
},
"autoupdate": {
"url": "https://github.com/nushell/nushell/releases/download/$underscoreVersion/nu_$underscoreVersion_windows.zip",
"extract_dir": "nushell_$underscoreVersion"
"url": "https://github.com/nushell/nushell/releases/download/$version/nu_$underscoreVersion_windows.zip",
"extract_dir": "nu_$underscoreVersion_windows\\nushell_$underscoreVersion"
}
}