feedback
feedback copied to clipboard
winget app
Feature Description
I'm utilizing winget heavily to bootstrap Windows instances. Being able to install Snipaste through winget would be great!
https://winstall.app/
Hi @jkazimierczak ,
Thanks for the suggestion!
Snipaste is available via the Microsoft Store, and winget can install apps directly from there. You can install it using its Microsoft Store ID:
winget install --id 9p1wxpkb68kx -s msstore
This should allow you to include Snipaste in your winget bootstrapping scripts. (Just fyi, Snipaste is also available as a portable version from the official website.) Thanks!
Hey @szhu25,
Thanks for the command! I can confirm it worked and Snipaste was installed successfully. It took around 1,5-2 minutes, so that's quite a while, but it worked. I feel that non-Store packages are installed faster, but that might be just a feeling.
I'm aware that Snipaste can be downloaded in a portable version, but I prefer to install as many tools as I can through the package manager.
@jkazimierczak Great, glad the Store method worked for you in the meantime!
Thanks for the feedback. You might be right about the speed difference. When I get some spare time, I can definitely look into adding the non-Store version of Snipaste to the main winget-pkgs repository.
Just to note: since I'm not the author of Snipaste, the ideal first step would be to try and reach out to them to ensure they're okay with the non-Store version being listed in the main winget repository this way.
Assuming that's all good, my experience is mostly with standard installers, so packaging it correctly might take a bit of trial and error, but I'm willing to give it a try! 😂 No promises on timeline, though.
EDIT: I've reached out to the author and am waiting for his approval.
I don't have any experience with installers, so seems like you're more up to the task than I'm :D I agree that contacting Snipaste authors for a green light sounds like a good first step to take. For now I'm satisfied with the store install - maybe not the fastest, but gets the job done. Thanks for assistance on this and good luck with figuring out winget packaging if you get the approval! :)
I'm not closing this issue, as I'm curious about the Snipaste's response on this.
Author's response: https://t.me/c/1062811297/131496 Winget PR: microsoft/winget-pkgs#250883
I previously subscribed winget's potential support for zip file installations (https://github.com/microsoft/winget-cli/issues/140), but stopped tracking it after years without implementation. Thanks to @jkazimierczak for the reminder and appreciation to @szhu25 for creating the PR! Since it's been merged, we should now be able to install the portable version of Snipaste via winget.
Hey @liulex, no problem! I see that the PR by @szhu25 was not merged, but closed. But I also see that there was another PR, which was merged. I can confirm that installing the winget package installs snipaste (and it's miles faster than store install). Thanks @szhu25! <3
It doesn't appear in the start menu though, and is installed only with a command line alias snipaste. The store app also created a shortcut in the start menu. Is this intended?
@jkazimierczak, I do not intend to not have desktop and/or start menu shortcut by default. However, it's limited by winget's current functionality. Once microsoft/winget-cli#2299 and microsoft/winget-cli#3314 add support for these functions, I could add shortcuts to manifest.