mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-08 17:51:21 +00:00
35 lines
1.3 KiB
JSON
35 lines
1.3 KiB
JSON
{
|
|
"version": "1.11.0",
|
|
"license": "MIT",
|
|
"hash": "b33a82c54199a427172fec8957760ae7c9a7b7a13b0814bdddb4438e7f88e801",
|
|
"homepage": "https://github.com/rust-lang-nursery/rustup.rs",
|
|
"checkver": {
|
|
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
|
|
"re": "version = \"(\\d+\\.\\d+\\.\\d+)\""
|
|
},
|
|
"url": "https://win.rustup.rs/#/rustup-init.exe",
|
|
"autoupdate": {
|
|
"url": "https://win.rustup.rs/#/rustup-init.exe"
|
|
},
|
|
"persist": [
|
|
".cargo",
|
|
".rustup"
|
|
],
|
|
"env_add_path": ".cargo\\bin",
|
|
"env_set": {
|
|
"CARGO_HOME": "$persist_dir\\.cargo",
|
|
"RUSTUP_HOME": "$persist_dir\\.rustup"
|
|
},
|
|
"installer": {
|
|
"script": "
|
|
# Create environment variables for this process
|
|
[Environment]::SetEnvironmentVariable('CARGO_HOME', \"$persist_dir\\.cargo\", 'Process')
|
|
[Environment]::SetEnvironmentVariable('RUSTUP_HOME', \"$persist_dir\\.rustup\", 'Process')
|
|
|
|
# Install Rustup
|
|
& \"$dir\\rustup-init.exe\" -y --no-modify-path --default-toolchain stable-gnu
|
|
"
|
|
},
|
|
"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"
|
|
}
|