Skip to content

Commit c286cd5

Browse files
committed
fix unicode
1 parent 86f83ba commit c286cd5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/powershell-extended/Install-NerdFont.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ process {
10331033
Write-Verbose "Overwriting font file: $($fontFile.Name)"
10341034
}
10351035
Write-Verbose "Font file already exists: $($fontFile.Name)"
1036-
Write-Host -NoNewline ' ' -ForegroundColor Green
1036+
Write-Host -NoNewline ' `u{2713} ' -ForegroundColor Green
10371037
}
10381038
else {
10391039
if ($Force) {
@@ -1082,12 +1082,12 @@ process {
10821082
$null = New-ItemProperty @params
10831083
}
10841084

1085-
Write-Host -NoNewline " $($PSStyle.Bold)$($PSStyle.BoldOff) " -ForegroundColor Green
1085+
Write-Host -NoNewline " $($PSStyle.Bold)`u{2713}$($PSStyle.BoldOff) " -ForegroundColor Green
10861086
}
10871087
Write-Host $fontFile.Name
10881088
}
10891089
catch {
1090-
Write-Host -NoNewline ' ' -ForegroundColor Red
1090+
Write-Host -NoNewline ' `u{2717} ' -ForegroundColor Red
10911091
Write-Host $fontFile.Name
10921092
throw $_
10931093
}

0 commit comments

Comments
 (0)