mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +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"
|
".rustup"
|
||||||
],
|
],
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
|
"url": "https://sh.rustup.rs",
|
||||||
"regex": "version = \"([\\d.]+)\""
|
"regex": "rustup-init ([\\d.]+) \\("
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
|
|||||||
@ -43,8 +43,8 @@
|
|||||||
".rustup"
|
".rustup"
|
||||||
],
|
],
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
|
"url": "https://sh.rustup.rs",
|
||||||
"regex": "version = \"([\\d.]+)\""
|
"regex": "rustup-init ([\\d.]+) \\("
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
|
|||||||
@ -43,8 +43,8 @@
|
|||||||
".rustup"
|
".rustup"
|
||||||
],
|
],
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://raw.githubusercontent.com/rust-lang-nursery/rustup.rs/master/Cargo.toml",
|
"url": "https://sh.rustup.rs",
|
||||||
"regex": "version = \"([\\d.]+)\""
|
"regex": "rustup-init ([\\d.]+) \\("
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user