Skip to content

Commit

Permalink
fix unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
jpawlowski committed Aug 28, 2024
1 parent 86f83ba commit c286cd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/powershell-extended/Install-NerdFont.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ process {
Write-Verbose "Overwriting font file: $($fontFile.Name)"
}
Write-Verbose "Font file already exists: $($fontFile.Name)"
Write-Host -NoNewline ' ' -ForegroundColor Green
Write-Host -NoNewline ' `u{2713} ' -ForegroundColor Green
}
else {
if ($Force) {
Expand Down Expand Up @@ -1082,12 +1082,12 @@ process {
$null = New-ItemProperty @params
}

Write-Host -NoNewline " $($PSStyle.Bold)$($PSStyle.BoldOff) " -ForegroundColor Green
Write-Host -NoNewline " $($PSStyle.Bold)`u{2713}$($PSStyle.BoldOff) " -ForegroundColor Green
}
Write-Host $fontFile.Name
}
catch {
Write-Host -NoNewline ' ' -ForegroundColor Red
Write-Host -NoNewline ' `u{2717} ' -ForegroundColor Red
Write-Host $fontFile.Name
throw $_
}
Expand Down

0 comments on commit c286cd5

Please sign in to comment.