Minor change to better compatibility
parent
f477fbde8b
commit
70fbc8191a
|
@ -39,7 +39,7 @@ function Get-WingetOutdatedApps {
|
|||
# Now cycle in real package and split accordingly
|
||||
$upgradeList = @()
|
||||
For ($i = $fl + 2; $i -lt $lines.Length; $i++) {
|
||||
$line = $lines[$i] -replace "…", " " #Fix "..." in long names
|
||||
$line = $lines[$i] -replace "[\u2026]", " " #Fix "..." in long names
|
||||
if ($line.StartsWith("-----")) {
|
||||
#Get header line
|
||||
$fl = $i - 1
|
||||
|
|
Loading…
Reference in New Issue