mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			51 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "homepage": "https://rustup.rs",
 | 
						|
    "version": "1.20.2",
 | 
						|
    "license": "MIT|Apache-2.0",
 | 
						|
    "description": "Manage multiple rust installations with ease",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://static.rust-lang.org/rustup/archive/1.20.2/x86_64-pc-windows-gnu/rustup-init.exe",
 | 
						|
            "hash": "85beabd0694999b36c7c6da527a5a3d92ab50b5834b1b9a3993a8243ebb71de3"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://static.rust-lang.org/rustup/archive/1.20.2/i686-pc-windows-gnu/rustup-init.exe",
 | 
						|
            "hash": "2632c2bc4a43f788eead0515024b8ce9b957e1816196511ef18e2dfa41db20fe"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "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-gnu/rustup-init.exe"
 | 
						|
            },
 | 
						|
            "32bit": {
 | 
						|
                "url": "https://static.rust-lang.org/rustup/archive/$version/i686-pc-windows-gnu/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"
 | 
						|
}
 |