mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-28 19:44:24 +00:00
54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
{
|
|
"version": "0.105.1",
|
|
"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.105.1/nu-0.105.1-x86_64-pc-windows-msvc.zip",
|
|
"hash": "92dad600dc684da77a413e29732f2abb2fd15ccacc1d4059ad230ba0380c52a7"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/nushell/nushell/releases/download/0.105.1/nu-0.105.1-aarch64-pc-windows-msvc.zip",
|
|
"hash": "d1a9e394b2e75ea35665c064bbe27a3c3c59d51f064a1451da37e1f9e9c211e3"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|