mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-25 04:10:15 +10:00
feat: loong64 support for reh server (#2087)
This commit is contained in:
11
ripgrep_linux_loong64.sh
Executable file
11
ripgrep_linux_loong64.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
# When installing @vscode/ripgrep, it will try to download prebuilt ripgrep binary from https://github.com/microsoft/ripgrep-prebuilt,
|
||||
# however, loong64 is not a supported architecture and x86 will be picked as fallback, so we need to replace it with a native one.
|
||||
|
||||
RG_PATH="node_modules/@vscode/ripgrep/bin/rg"
|
||||
RG_VERSION="14.1.1"
|
||||
|
||||
echo "Replacing ripgrep binary with loong64 one"
|
||||
|
||||
rm "${RG_PATH}"
|
||||
curl --silent --fail -L https://github.com/darkyzhou/ripgrep-loongarch64-musl/releases/download/${RG_VERSION}/rg -o "${RG_PATH}"
|
||||
chmod +x "${RG_PATH}"
|
||||
Reference in New Issue
Block a user