ScoopInstaller / Scoop

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

feat(install): Added the ability to specify @ version when installing from url/file location #5988

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

(adds #5977)

testing

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

Checklist: