StoreDev / StoreLib

Storelib is a DotNet library that provides APIs to interact with the various Microsoft Store endpoints.
Mozilla Public License 2.0
139 stars 47 forks source link

Could we borrow anything from the "winget" command? #25

Open starchivore opened 1 year ago

starchivore commented 1 year ago

Good Day,

Plenty of apps available on MS Store seemed to contain Product IDs that would begin with XP but unfortunately neither https://xwebstore.herokuapp.com nor https://store.rg-adguard.net could support them at the moment, a handful of examples are listed below:

Title Product ID
KoordASIO Universal Driver XP9CSS6NZBDV21
Discord XPDC2RH70K22MN
WinZip 26 XPDNXDPXBRSVXT
Adobe Acrobat Reader DC XPDP273C0XHQH2
Microsoft Edge Browser XPFFTQ037JWMHS

Then I checked the following page linked below and found that Discord could be installed via Windows Package Manager CLI / the winget command:

https://github.com/Yetenol/Setup-Computer#communication

Title Install command
Discord winget install -e XPDC2RH70K22MN --accept-package-agreements

Just wondering if there were any useful codes that could be borrowed from 'winget' by any chance?

For instance, we could take a quick look at their codes and find the string Url easily, here's one of them:

https://github.com/microsoft/winget-cli/blob/master/src/AppInstallerCommonCore/Manifest/ManifestYamlPopulator.cpp

Of course that might not be very helpful at all, that's why I hope that maybe someone else already figured out how to grab a copy of anything that's starting with XP.