microsoft / winget-create

The Windows Package Manager Manifest Creator command-line tool (aka wingetcreate)
MIT License
489 stars 84 forks source link

Architecture isn't parsed correctly for portable installers in interactive update #406

Closed mdanish-kh closed 1 year ago

mdanish-kh commented 1 year ago

Brief description of your issue

In interactive update, some portable installers are not parsed correctly for their architecture. After the update finishes, winget-create will put an integer value in place of the Architecture field.

Steps to reproduce

In the latest main branch build:

wingetcreate update JesseDuffield.Lazydocker -i wingetcreate update Microsoft.Sysinternals.ZoomIt -i wingetcreate update junegunn.fzf -i

Expected behavior

Manifest generated with correct architecture values in the manifest

Actual behavior

Manifest validation fails after interactive update since there is an incompatible value in the Architecture field

Environment

Latest build of main branch
Windows: Windows.Desktop v10.0.22621.1848
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.1573.0