mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 06:11:20 +00:00
54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
{
|
|
"version": "0.108.0",
|
|
"description": "A modern shell written in Rust",
|
|
"homepage": "https://www.nushell.sh",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/nushell/nushell/releases/download/0.108.0/nu-0.108.0-x86_64-pc-windows-msvc.zip",
|
|
"hash": "425a423950bbbec95f1e879fe036fd861cbbcbba9bef03398a4057f9febe7de8"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/nushell/nushell/releases/download/0.108.0/nu-0.108.0-aarch64-pc-windows-msvc.zip",
|
|
"hash": "becc2946a6f548571d20e167365fc456c382db2aec632b49218fb2ebfc4775dd"
|
|
}
|
|
},
|
|
"bin": "nu.exe",
|
|
"shortcuts": [
|
|
[
|
|
"nu.exe",
|
|
"Nushell",
|
|
"--execute \"cd ~\""
|
|
]
|
|
],
|
|
"post_uninstall": [
|
|
"if ($purge) {",
|
|
" $Directories = [string[]](",
|
|
" [System.IO.Path]::Combine($env:APPDATA,'nushell'),",
|
|
" [System.IO.Path]::Combine($env:LOCALAPPDATA,'nushell')",
|
|
" )",
|
|
" $Directories.ForEach{",
|
|
" if ([System.IO.Directory]::Exists($_)) {",
|
|
" $null = [System.IO.Directory]::Delete($_,$true)",
|
|
" }",
|
|
" }",
|
|
"}"
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/nushell/nushell"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/nushell/nushell/releases/download/$version/nu-$version-x86_64-pc-windows-msvc.zip"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/nushell/nushell/releases/download/$version/nu-$version-aarch64-pc-windows-msvc.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$baseurl/SHA256SUMS"
|
|
}
|
|
}
|
|
}
|