mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-29 12:01:26 +00:00
51 lines
2.0 KiB
JSON
51 lines
2.0 KiB
JSON
{
|
|
"homepage": "https://rustup.rs",
|
|
"version": "1.23.0",
|
|
"license": "MIT|Apache-2.0",
|
|
"description": "Manage multiple rust installations with ease",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://static.rust-lang.org/rustup/archive/1.23.0/x86_64-pc-windows-msvc/rustup-init.exe",
|
|
"hash": "655388940708ee094fcad294b00af05b8b81c0ab7f8da67cd31224bd41f5f33b"
|
|
},
|
|
"32bit": {
|
|
"url": "https://static.rust-lang.org/rustup/archive/1.23.0/i686-pc-windows-msvc/rustup-init.exe",
|
|
"hash": "48e2bea0bf6b9c782c8732e8de17a3d87b5760af8931e801652f8a47b27018cc"
|
|
}
|
|
},
|
|
"persist": [
|
|
".cargo",
|
|
".rustup"
|
|
],
|
|
"env_add_path": ".cargo\\bin",
|
|
"env_set": {
|
|
"CARGO_HOME": "$persist_dir\\.cargo",
|
|
"RUSTUP_HOME": "$persist_dir\\.rustup"
|
|
},
|
|
"installer": {
|
|
"script": [
|
|
"[Environment]::SetEnvironmentVariable('CARGO_HOME', \"$persist_dir\\.cargo\", 'Process')",
|
|
"[Environment]::SetEnvironmentVariable('RUSTUP_HOME', \"$persist_dir\\.rustup\", 'Process')",
|
|
"Invoke-ExternalCommand -Path \"$dir\\rustup-init.exe\" -Args '-y --no-modify-path' | Out-Null"
|
|
]
|
|
},
|
|
"checkver": {
|
|
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
|
|
"regex": "version = \"([\\d.]+)\""
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://static.rust-lang.org/rustup/archive/$version/x86_64-pc-windows-msvc/rustup-init.exe"
|
|
},
|
|
"32bit": {
|
|
"url": "https://static.rust-lang.org/rustup/archive/$version/i686-pc-windows-msvc/rustup-init.exe"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
},
|
|
"notes": "To use the MSVC ABI without Visual Studio 2015 (or higher) installed, you will need the Visual Studio 2017 Build Tools: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017"
|
|
}
|