mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 15:21:18 +00:00
rustup(-gnu|-msvc): Fix regex patterns checkver field (#6569)
- Updated the rustup `checkver.url` to script link. - Modified the regex pattern to match rustup version from the installation script.
This commit is contained in:
parent
a5d3ddb630
commit
fa5e8ca8e4
@ -36,8 +36,8 @@
|
||||
".rustup"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
|
||||
"regex": "version = \"([\\d.]+)\""
|
||||
"url": "https://sh.rustup.rs",
|
||||
"regex": "rustup-init ([\\d.]+) \\("
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
|
||||
@ -43,8 +43,8 @@
|
||||
".rustup"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
|
||||
"regex": "version = \"([\\d.]+)\""
|
||||
"url": "https://sh.rustup.rs",
|
||||
"regex": "rustup-init ([\\d.]+) \\("
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
|
||||
@ -43,8 +43,8 @@
|
||||
".rustup"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
|
||||
"regex": "version = \"([\\d.]+)\""
|
||||
"url": "https://sh.rustup.rs",
|
||||
"regex": "rustup-init ([\\d.]+) \\("
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user