{
    "version": "1.24.3",
    "description": "A developer CLI that provides commands for working with Azure resources that map to key workflow stages: code, build, deploy, monitor, repeat.",
    "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": {
        "64bit": {
            "url": "https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_1.24.3/azd-windows-amd64.zip",
            "hash": "c52b74b071168d28357e130d2cf88c75655a3cd663f9d1d94f09999e6134f96c"
        },
        "arm64": {
            "url": "https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_1.24.3/azd-windows-arm64-alpha.zip",
            "hash": "91a3ab7f81114c71b2157917fc479d152ce6b6ced754911bc8163d52b24bf7e9"
        }
    },
    "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": {
            "64bit": {
                "url": "https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_$version/azd-windows-amd64.zip"
            },
            "arm64": {
                "url": "https://github.com/Azure/azure-dev/releases/download/azure-dev-cli_$version/azd-windows-arm64-alpha.zip"
            }
        }
    }
}
