Winget-AutoUpdate icon indicating copy to clipboard operation
Winget-AutoUpdate copied to clipboard

Update Update-WinGet.ps1

Open AndrewDemski-ad-gmail-com opened this issue 1 year ago • 4 comments

Workaround for a weird bug encountered in pwsh 7.

Proposed Changes

For some reason our usual (& winget) did not work as expectedWith legacy approach there was no such issue.

Related Issues

(#575)

Weird that we have to do that to get it to work...

Romanitho avatar Mar 18 '24 14:03 Romanitho

I am not a big fan of over-complicating code when not necessary as well, If issue reported in https://github.com/Romanitho/Winget-AutoUpdate/issues/575 resurfaces, then we have an alternative on standby.

Call me cray, but it think that this issue (https://github.com/Romanitho/Winget-AutoUpdate/issues/594) may be affected by the same problem.

@Romanitho: I advise adding the PoSh version field to issue template.

yes we can add this field. But it's weird that #594 is affected by this.

Romanitho avatar Apr 02 '24 15:04 Romanitho