mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			62 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			62 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "1.24.2",
 | 
						|
    "description": "An open source programming language that makes it easy to build simple, reliable, and efficient software.",
 | 
						|
    "homepage": "https://golang.org",
 | 
						|
    "license": "BSD-3-Clause",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://dl.google.com/go/go1.24.2.windows-amd64.zip",
 | 
						|
            "hash": "29c553aabee0743e2ffa3e9fa0cda00ef3b3cc4ff0bc92007f31f80fd69892e1"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://dl.google.com/go/go1.24.2.windows-386.zip",
 | 
						|
            "hash": "13d86cb818bba331da75fcd18246ab31a1067b44fb4a243b6dfd93097eda7f37"
 | 
						|
        },
 | 
						|
        "arm64": {
 | 
						|
            "url": "https://dl.google.com/go/go1.24.2.windows-arm64.zip",
 | 
						|
            "hash": "ab267f7f9a3366d48d7664be9e627ce3e63273231430cce5f7783fb910f14148"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "extract_dir": "go",
 | 
						|
    "installer": {
 | 
						|
        "script": [
 | 
						|
            "$envgopath = \"$env:USERPROFILE\\go\"",
 | 
						|
            "if ($env:GOPATH) { $envgopath = $env:GOPATH }",
 | 
						|
            "info \"Adding '$envgopath\\bin' to PATH...\"",
 | 
						|
            "Add-Path -Path \"$envgopath\\bin\" -Global:$global -Force"
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "uninstaller": {
 | 
						|
        "script": [
 | 
						|
            "$envgopath = \"$env:USERPROFILE\\go\"",
 | 
						|
            "if ($env:GOPATH) { $envgopath = $env:GOPATH }",
 | 
						|
            "info \"Removing '$envgopath\\bin' from PATH...\"",
 | 
						|
            "Remove-Path -Path \"$envgopath\\bin\" -Global:$global"
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "bin": [
 | 
						|
        "bin\\go.exe",
 | 
						|
        "bin\\gofmt.exe"
 | 
						|
    ],
 | 
						|
    "checkver": {
 | 
						|
        "url": "https://golang.org/dl/",
 | 
						|
        "regex": "go([\\d.]+)\\.windows-"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://dl.google.com/go/go$version.windows-amd64.zip"
 | 
						|
            },
 | 
						|
            "32bit": {
 | 
						|
                "url": "https://dl.google.com/go/go$version.windows-386.zip"
 | 
						|
            },
 | 
						|
            "arm64": {
 | 
						|
                "url": "https://dl.google.com/go/go$version.windows-arm64.zip"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "$url.sha256"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |