ScoopInstaller / Scoop

A command-line installer for Windows.
https://scoop.sh
Other
21k stars 1.4k forks source link

added the ability to specify @ version when installing from url/file location #5986

Closed insertokname closed 4 months ago

insertokname commented 4 months ago

added the ability to use the @ symbol when using scoop install with a url/file location

Description

Simple change to the regex that matches the name of the app to not require the whole string to be ending with .json. For example you can now do:

scoop install https://raw.githubusercontent.com/ScoopInstaller/Main/master/bucket/neovim.json@0.9.0

testing

This has been tested with all installation methods that have been mentioned in the scoop install --help

Checklist:

niheaven commented 4 months ago

Use a new local branch other than develop,and add a changelog entry

insertokname commented 4 months ago

should i make another pull request, or can i update this one to change the branch?

I already made the necessary changes to the CHANGELOG.