File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
HMCL/src/main/resources/assets Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 152
152
153
153
# Java not found
154
154
155
- if [ " $_HMCL_OS " == " osx" ]; then
156
- _HMCL_DOWNLOAD_PAGE_OS=" macos"
157
- else
158
- _HMCL_DOWNLOAD_PAGE_OS=" $_HMCL_OS "
159
- fi
160
-
161
155
case " $_HMCL_OS -$_HMCL_ARCH " in
162
- 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)
163
- _HMCL_JAVA_DOWNLOAD_PAGE=" https://docs.hmcl.net/downloads/$_HMCL_DOWNLOAD_PAGE_OS /$_HMCL_ARCH .html"
156
+ windows-x86|windows-x86_64|windows-arm64)
157
+ _HMCL_JAVA_DOWNLOAD_PAGE=" https://docs.hmcl.net/downloads/windows/$_HMCL_ARCH .html"
158
+ ;;
159
+ linux-x86|linux-x86_64|linux-arm64|linux-arm32|linux-riscv64|linux-loongarch64)
160
+ _HMCL_JAVA_DOWNLOAD_PAGE=" https://docs.hmcl.net/downloads/linux/$_HMCL_ARCH .html"
161
+ ;;
162
+ osx-x86_64|osx-arm64)
163
+ _HMCL_JAVA_DOWNLOAD_PAGE=" https://docs.hmcl.net/downloads/macos/$_HMCL_ARCH .html"
164
164
;;
165
165
esac
166
166
You can’t perform that action at this time.
0 commit comments