mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "1.11",
 | 
						|
    "homepage": "https://golang.org",
 | 
						|
    "license": "BSD-3-Clause",
 | 
						|
    "extract_dir": "go",
 | 
						|
    "env_set": {
 | 
						|
        "GOROOT": "$dir"
 | 
						|
    },
 | 
						|
    "bin": [
 | 
						|
        "bin/go.exe",
 | 
						|
        "bin/gofmt.exe",
 | 
						|
        "bin/godoc.exe"
 | 
						|
    ],
 | 
						|
    "installer": {
 | 
						|
        "script": "add_first_in_path \"$env:USERPROFILE\\go\\bin\" $global"
 | 
						|
    },
 | 
						|
    "uninstaller": {
 | 
						|
        "script": "remove_from_path \"$env:USERPROFILE\\go\\bin\" $global"
 | 
						|
    },
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://storage.googleapis.com/golang/go1.11.windows-amd64.zip",
 | 
						|
            "hash": "29f9291270f0b303d0b270f993972ead215b1bad3cc674a0b8a09699d978aeb4"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://storage.googleapis.com/golang/go1.11.windows-386.zip",
 | 
						|
            "hash": "d3279f0e3d728637352eff0aa1e11268a0eb01f13644bcbce1c066139f5a90db"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "checkver": "Build version go([\\d\\.]+)\\.",
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://storage.googleapis.com/golang/go$version.windows-amd64.zip"
 | 
						|
            },
 | 
						|
            "32bit": {
 | 
						|
                "url": "https://storage.googleapis.com/golang/go$version.windows-386.zip"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "$url.sha256"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "notes": [
 | 
						|
        "Your GOROOT has been set to: $dir",
 | 
						|
        "You can run 'go env GOROOT' to view this at any time.",
 | 
						|
        "\"$env:USERPROFILE\\go\\bin)\" has been added to your PATH."
 | 
						|
    ]
 | 
						|
}
 |