omaha-consulting / winstall

A web app for browsing and installing Windows Package Manager apps.
https://winstall.app
GNU General Public License v3.0
1.15k stars 60 forks source link

Force MS Store as source for packages #109

Open mundodisco8 opened 2 years ago

mundodisco8 commented 2 years ago

HI,

Maybe I'm getting things mixed, but I think there's a benefit on getting the apps installed from the MS Store, and it's that those apps will autoupdate. By default, it seems that Winstall provides package names that use winget as their source (for example, winstall provides Spotify.spotify as the package name for Spotify, and that seems to be the winget package.

C:\Users\joel.santos>winget show spotify
Multiple packages found matching input criteria. Please refine the input.
Name                         Id              Source
----------------------------------------------------
Spotify - Music and Podcasts 9NCBCSZSJRSB    msstore
Spotify                      Spotify.Spotify winget

I tried using Winstall's output and force the MS Store as source with -s msstore, but obviously it can't find the package as its name is the cryptic 9NCBCSZSJRSB.

Of course, I can periodically run winget update --all, and that would have the benefit of giving me a list of the updates to be performed, but to be fair, I don't micromanage my software that much.

NJT145 commented 1 year ago

People may want to use apps without MSStore issues. So that is not an issue for winstall. The true point that you should ask is an option to search packages from msstore. But we can use MSStore itself for that. As a result, at winstall web page, there can be a note that says that this page searchs for packages from source winget only. If you want to search apps from msstore by using winget, you can use this: winget search "<appname>" --source="msstore" For example, for spotify: winget search "Spotify" --source="msstore"