From a5432e897271ab48014742c5290ba8370a11cb6d Mon Sep 17 00:00:00 2001 From: Haard Shah <36398394+Haard30@users.noreply.github.com> Date: Fri, 8 Nov 2024 13:41:11 -0500 Subject: [PATCH] Fix install script (#417) --- install/install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.ps1 b/install/install.ps1 index d7cef76..5b276ee 100644 --- a/install/install.ps1 +++ b/install/install.ps1 @@ -115,7 +115,7 @@ function Install-Post-0-4-0 { Write-Verbose "Installing using post-0.4.0 method" $repo = if ([string]::IsNullOrEmpty($Env:AZUREAUTH_REPO)) { 'AzureAD/microsoft-authentication-cli' } else { $Env:AZUREAUTH_REPO } - $releaseName = if ([version]::Parse($version) -lt [version]::Parse("0.9.0")) { "azureauth-${version}-win10-x64" } else { azureauth-${version}-win-x64 } + $releaseName = if ([version]::Parse($version) -lt [version]::Parse("0.9.0")) { "azureauth-${version}-win10-x64" } else { "azureauth-${version}-win-x64" } $releaseFile = "${releaseName}.zip" $releaseUrl = "https://github.com/${repo}/releases/download/${version}/$releaseFile" $azureauthDirectory = if ([string]::IsNullOrEmpty($Env:AZUREAUTH_INSTALL_DIRECTORY)) {