mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			50 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "$schema": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
 | 
						|
    "version": "1.18.1",
 | 
						|
    "description": "A developer CLI that reduces the time it takes to get started on Azure",
 | 
						|
    "homepage": "https://aka.ms/azd",
 | 
						|
    "license": "MIT",
 | 
						|
    "notes": [
 | 
						|
        "1. Shell completion requires additional setup, see: https://github.com/Azure/azure-dev",
 | 
						|
        "2. Telemetry is enabled by default, it can be disabled by setting env variable \"AZURE_DEV_COLLECT_TELEMETRY\" to \"no\""
 | 
						|
    ],
 | 
						|
    "architecture": {
 | 
						|
        "arm64": {
 | 
						|
            "url": "https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_1.18.1/azd-windows-arm64-alpha.zip",
 | 
						|
            "hash": "1f17f9a4c0668179395b0863f56634fc8c3950d638e4983e3f1bdc3a79dc9707"
 | 
						|
        },
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_1.18.1/azd-windows-amd64.zip",
 | 
						|
            "hash": "090378bb10f59c0b970f7b75cf51ba43c8827f9f04090791dc77672651a8bd83"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "pre_install": "Get-Item \"$dir\\azd-*.exe\" | Rename-Item -NewName \"azd.exe\"",
 | 
						|
    "bin": "azd.exe",
 | 
						|
    "post_uninstall": [
 | 
						|
        "if ($purge) {",
 | 
						|
        "    $Directories = [string[]](",
 | 
						|
        "        [System.IO.Path]::Combine($env:USERPROFILE,'.azd')",
 | 
						|
        "    )",
 | 
						|
        "    $Directories.ForEach{",
 | 
						|
        "        if ([System.IO.Directory]::Exists($_)) {",
 | 
						|
        "            $null = [System.IO.Directory]::Delete($_,$true)",
 | 
						|
        "        }",
 | 
						|
        "    }",
 | 
						|
        "}"
 | 
						|
    ],
 | 
						|
    "checkver": {
 | 
						|
        "github": "https://github.com/Azure/azure-dev",
 | 
						|
        "regex": "azure-dev-cli_([\\d.]+)"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "arm64": {
 | 
						|
                "url": "https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_$version/azd-windows-arm64-alpha.zip"
 | 
						|
            },
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_$version/azd-windows-amd64.zip"
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |