Skip to content

Commit

Permalink
Fix install script (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haard30 authored Nov 8, 2024
1 parent 6f3c61d commit a5432e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit a5432e8

Please sign in to comment.