We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a1dcee commit 4756e93Copy full SHA for 4756e93
functions/Get-Updates.ps1
@@ -90,7 +90,7 @@ function Get-Updates {
90
$WinGetOutput = & winget upgrade
91
$WinGetUpdates = @(
92
foreach ($line in ($WinGetOutput | Select-Object -Skip 1)) {
93
- if ($line -match '^(.*?) +([\w\d\.\+-_]+) +([\d\.\+-_]*?|Unknown) +([\d\.-]*|Unknown) +winget$') {
+ if ($line -match '^(.*?) +([\w\d\.\+-_]+) +(?:< |)([\d\.\+-_]*?|Unknown) +([\d\.-]*|Unknown) +winget$') {
94
[PSCustomObject]@{
95
PackageId = $Matches[2]
96
CurrentVersion = $Matches[3]
0 commit comments