mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "1.131.0",
 | 
						|
    "description": "Build, test, debug, and deploy Serverless applications from CLI",
 | 
						|
    "homepage": "https://aws.amazon.com/serverless/sam/",
 | 
						|
    "license": "Apache-2.0",
 | 
						|
    "depends": "lessmsi",
 | 
						|
    "suggest": {
 | 
						|
        "AWS CLI": "aws"
 | 
						|
    },
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://github.com/aws/aws-sam-cli/releases/download/v1.131.0/AWS_SAM_CLI_64_PY3.msi#/dl.msi_",
 | 
						|
            "hash": "d832dcfd865cc3c7ade9703f0cc91190f080911dbb3d8afdcc51064bc9457cce"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "pre_install": [
 | 
						|
        "# Workaround for #4980, #5653",
 | 
						|
        "$msi = \"$dir\\$fname\"; $extracted = \"$dir\\\"",
 | 
						|
        "Invoke-ExternalCommand 'lessmsi' -Args @('x', $msi, $extracted) -Quiet",
 | 
						|
        "Move-Item \"$dir\\SourceDir\\PFiles64\\Amazon\\AWSSAMCLI\\**\" \"$dir\"",
 | 
						|
        "Remove-Item \"$dir\\SourceDir\", \"$dir\\$fname\" -Force -Recurse"
 | 
						|
    ],
 | 
						|
    "bin": [
 | 
						|
        "bin\\sam.cmd",
 | 
						|
        [
 | 
						|
            "bin\\sam.cmd",
 | 
						|
            "aws-sam-cli"
 | 
						|
        ]
 | 
						|
    ],
 | 
						|
    "checkver": {
 | 
						|
        "github": "https://github.com/aws/aws-sam-cli"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://github.com/aws/aws-sam-cli/releases/download/v$version/AWS_SAM_CLI_64_PY3.msi#/dl.msi_"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "https://github.com/aws/aws-sam-cli/releases/tag/v$version",
 | 
						|
            "regex": "(?sm)>$basename</.*?>\\s*$sha256</"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |