Merge pull request #370 from Romanitho/fix-long-names

Fix "..." in long app names
pull/371/head
Romain 2023-07-27 18:04:23 +02:00 committed by GitHub
commit b4e823a134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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