mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
35 lines
1.4 KiB
JSON
35 lines
1.4 KiB
JSON
{
|
|
"version": "1.17.0",
|
|
"license": "MIT",
|
|
"hash": "e6a7dd25ab1620827d0848840ee7347248f3f88fc91b2d1e9359700853d5c3fe",
|
|
"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"
|
|
}
|