mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "1.14.0",
 | 
						|
    "license": "MIT",
 | 
						|
    "hash": "3fb8f86baf3422e47fef2009697fd7c83226f989008db9e965f75c6d65abace5",
 | 
						|
    "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"
 | 
						|
}
 |