[Windows] Fix signature for azure cli (#9134)

* fix signature for azure cli

* disable edge auto updates
This commit is contained in:
sergei-pyshnoi
2024-01-09 20:05:02 +01:00
committed by GitHub
parent 5a6e215859
commit ec4e51233f
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ New-Item -ItemType 'Directory' -Path $azureCliExtensionPath | Out-Null
Install-Binary -Type MSI ` Install-Binary -Type MSI `
-Url 'https://aka.ms/installazurecliwindowsx64' ` -Url 'https://aka.ms/installazurecliwindowsx64' `
-ExpectedSignature '72105B6D5F370B62FD5C82F1512F7AD7DEE5F2C0' -ExpectedSignature 'C2048FB509F1C37A8C3E9EC6648118458AA01780'
Update-Environment Update-Environment

View File

@@ -4,7 +4,7 @@
################################################################################ ################################################################################
# Disable Edge auto-updates # Disable Edge auto-updates
#Rename-Item -Path "C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe" -NewName "Disabled_MicrosoftEdgeUpdate.exe" -ErrorAction Stop Rename-Item -Path "C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe" -NewName "Disabled_MicrosoftEdgeUpdate.exe" -ErrorAction Stop
Write-Host "Get the Microsoft Edge WebDriver version..." Write-Host "Get the Microsoft Edge WebDriver version..."
$edgeBinaryPath = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\msedge.exe").'(default)' $edgeBinaryPath = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\msedge.exe").'(default)'