Open Nutzzz opened 2 months ago
I'm having issues trying to implement this. Because of the Microsoft.WindowsPackageManager.ComInterop package, it seems the handler requires a Windows-specific TargetFramework (e.g., net8.0-windows10.0.19041.0), which apparently means the Example project must have a similar target, which makes it no longer cross-platform [not that any of my non-upstream handlers are]. Maybe I could have two Example projects? Or maybe just be cheesy and call winget (at least for now)?
I discovered there's an API to Windows Package Manager. Combining the equivalent of
winget list
with an interface towinget search --tag game
gives us a decent implementation of #35 . The PackageHandlers category could also potentially include handlers for chocolatey, scoop, etc.