diff --git a/bucket/nu.json b/bucket/nu.json index a4c42baba7..12c9548d9d 100644 --- a/bucket/nu.json +++ b/bucket/nu.json @@ -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", - "installer": { - "script": [ - "New-Item \"$dir\\Plugins\" -ItemType Directory | Out-Null", - "Move-Item \"$dir\\nu_plugin_*\" \"$dir\\Plugins\"" - ] + "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" }, "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" } }