ScoopInstaller_Main/bucket/azure-cli.json
Arjan van Rijn bf5ca8d171
azure-cli: Fix AzureCLIPath environment variable (#2717)
The 2 AzureCLIPath environment variables introduced in https://github.com/ScoopInstaller/Main/pull/1469 are not set to the actual az cli path. Since az is installed in the \wbin sub folder, as seen in the bin property. 

This for example resulted in tools using the go-autorest library not working when the az cli is installed using scoop. 
c7f947c061/autorest/azure/cli/token.go (L128)
2021-10-22 09:30:34 +01:00

22 lines
706 B
JSON

{
"version": "2.29.1",
"description": "Microsoft Azure CLI 2.0",
"homepage": "https://aka.ms/cli",
"license": "MIT",
"url": "https://azurecliprod.azureedge.net/msi/azure-cli-2.29.1.msi",
"hash": "0567ef2466834f927c9da2139efdc252ba3d7c16eedaddf3fea7c876aa82890a",
"extract_dir": "Microsoft SDKs\\Azure\\CLI2",
"bin": "wbin\\az.cmd",
"checkver": {
"github": "https://github.com/Azure/azure-cli",
"regex": "/releases/tag/azure-cli-([\\d.]+)"
},
"autoupdate": {
"url": "https://azurecliprod.azureedge.net/msi/azure-cli-$version.msi"
},
"env_set": {
"AzureCLIPath": "$dir\\wbin",
"AZURE_CLI_PATH": "$dir\\wbin"
}
}