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:
Pratik Chowdhury 2021-10-22 21:47:27 +05:30 committed by GitHub
parent aaa01e539c
commit 89a0e8a7d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,25 @@
{
"version": "2021-05-17",
"version": "2021-10-18",
"description": "An experimental Rust compiler front-end for IDEs",
"homepage": "https://rust-analyzer.github.io/",
"license": "Apache-2.0|MIT",
"architecture": {
"64bit": {
"url": "https://github.com/rust-analyzer/rust-analyzer/releases/download/2021-05-17/rust-analyzer-windows.exe#/rust-analyzer.exe",
"hash": "448c8da15b9ec7eae4de9d81ecde73bb17837d70870c3111740de7969e4000e4"
"url": "https://github.com/rust-analyzer/rust-analyzer/releases/download/2021-10-18/rust-analyzer-x86_64-pc-windows-msvc.gz",
"hash": "08dedb18f1c7f5eb4f73bbb331095c45a7909a5e6995394f39091a27fd00bfa5"
}
},
"pre_install": "Rename-Item \"$dir\\$($fname -replace '\\.gz$')\" 'rust-analyzer.exe'",
"bin": "rust-analyzer.exe",
"checkver": {
"github": "https://github.com/rust-analyzer/rust-analyzer",
"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"
}
}
}
}