From c5e7ee8aef07f851f61dd86baa0eac6e615bbc86 Mon Sep 17 00:00:00 2001 From: Glavo Date: Thu, 23 Jan 2025 10:23:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=B9=20Linux=20RISC-V=20?= =?UTF-8?q?64=20=E5=B9=B3=E5=8F=B0=E7=9A=84=E6=94=AF=E6=8C=81=20(#3536)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HMCL/src/main/resources/assets/HMCLauncher.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/HMCL/src/main/resources/assets/HMCLauncher.sh b/HMCL/src/main/resources/assets/HMCLauncher.sh index 824c0aa55..8cb064861 100644 --- a/HMCL/src/main/resources/assets/HMCLauncher.sh +++ b/HMCL/src/main/resources/assets/HMCLauncher.sh @@ -33,6 +33,8 @@ case "$(uname -m)" in _HMCL_ARCH="arm64";; arm|arm32|aarch32|armv7*) _HMCL_ARCH="arm32";; + riscv64) + _HMCL_ARCH="riscv64";; loongarch64) _HMCL_ARCH="loongarch64";; *) @@ -123,7 +125,7 @@ else fi case "$_HMCL_OS-$_HMCL_ARCH" in - windows-x86|windows-x86_64|windows-arm64|linux-x86|linux-x86_64|linux-arm32|linux-arm64|linux-loongarch64|macos-x86_64|macos-arm64) + windows-x86|windows-x86_64|windows-arm64|linux-x86|linux-x86_64|linux-arm32|linux-arm64|linux-riscv64|linux-loongarch64|macos-x86_64|macos-arm64) if [ "$_HMCL_USE_CHINESE" == true ]; then echo "运行 HMCL 需要 Java 运行时环境,请安装 Java 并设置环境变量后重试。" 1>&2 echo "https://docs.hmcl.net/downloads/$_HMCL_DOWNLOAD_PAGE_OS/$_HMCL_HMCL_ARCH.html" 1>&2