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