ScoopInstaller / Scoop

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

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

Closed insertokername closed 1 month ago

insertokername commented 1 month ago

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

hopefully got everything right this time 😭

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: