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)) {