mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-17 12:51:19 +00:00
fix((rust analyzer): autoupdate and installation. Update to 2021-10-18 (#2797)
Rust Analyzer now distributes via a GZ file instead of sharing an exe as before Also previously autoupdate was missing. Both issues were leading to Scoop being unable to update Rust Analyzer
This commit is contained in:
parent
aaa01e539c
commit
89a0e8a7d9
@ -1,17 +1,25 @@
|
|||||||
{
|
{
|
||||||
"version": "2021-05-17",
|
"version": "2021-10-18",
|
||||||
"description": "An experimental Rust compiler front-end for IDEs",
|
"description": "An experimental Rust compiler front-end for IDEs",
|
||||||
"homepage": "https://rust-analyzer.github.io/",
|
"homepage": "https://rust-analyzer.github.io/",
|
||||||
"license": "Apache-2.0|MIT",
|
"license": "Apache-2.0|MIT",
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"url": "https://github.com/rust-analyzer/rust-analyzer/releases/download/2021-05-17/rust-analyzer-windows.exe#/rust-analyzer.exe",
|
"url": "https://github.com/rust-analyzer/rust-analyzer/releases/download/2021-10-18/rust-analyzer-x86_64-pc-windows-msvc.gz",
|
||||||
"hash": "448c8da15b9ec7eae4de9d81ecde73bb17837d70870c3111740de7969e4000e4"
|
"hash": "08dedb18f1c7f5eb4f73bbb331095c45a7909a5e6995394f39091a27fd00bfa5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"pre_install": "Rename-Item \"$dir\\$($fname -replace '\\.gz$')\" 'rust-analyzer.exe'",
|
||||||
"bin": "rust-analyzer.exe",
|
"bin": "rust-analyzer.exe",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"github": "https://github.com/rust-analyzer/rust-analyzer",
|
"github": "https://github.com/rust-analyzer/rust-analyzer",
|
||||||
"regex": "releases/tag/([\\d-]+)"
|
"regex": "releases/tag/([\\d-]+)"
|
||||||
|
},
|
||||||
|
"autoupdate": {
|
||||||
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"url": "https://github.com/rust-analyzer/rust-analyzer/releases/download/$version/rust-analyzer-x86_64-pc-windows-msvc.gz"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user