From f9459fded364035bdb639db8abdcde2c1980e0fd Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Thu, 27 Jul 2023 17:15:51 +0200 Subject: [PATCH] Fix "..." in long names --- Winget-AutoUpdate/functions/Get-WingetOutdatedApps.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Winget-AutoUpdate/functions/Get-WingetOutdatedApps.ps1 b/Winget-AutoUpdate/functions/Get-WingetOutdatedApps.ps1 index de966d1..767c527 100644 --- a/Winget-AutoUpdate/functions/Get-WingetOutdatedApps.ps1 +++ b/Winget-AutoUpdate/functions/Get-WingetOutdatedApps.ps1 @@ -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] + $line = $lines[$i] -replace "…", " " #Fix "..." in long names if ($line.StartsWith("-----")) { #Get header line $fl = $i - 1