mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2025-09-13 15:24:27 +08:00
Revert "回滚 Windows x86-64 平台上的 Java 下载地址 (#238)" (#239)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2e7b89454d
commit
3dd3249d76
@ -14,7 +14,9 @@ Java 安装包已开始下载,请等待 Java 安装程序下载完成,最后
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
没有下载?[点击此处开始下载](https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi)
|
没有下载?[点击此处开始下载](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-x64.msi)
|
||||||
|
|
||||||
|
无法下载?[点击此处开始下载(备用)](https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -22,10 +24,16 @@ The Java installation package has started to download. Please wait for the downl
|
|||||||
|
|
||||||
No redirect? [Click here to start downloading](https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi)
|
No redirect? [Click here to start downloading](https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi)
|
||||||
|
|
||||||
|
Can't download? [Click here to download (alternative)](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-x64.msi)
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
window.location.href = "https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi";
|
const isZhCN = /^zh-CN/i.test(navigator.language);
|
||||||
}, 5000); // 等待 5 秒.
|
const url = isZhCN
|
||||||
|
? "https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-x64.msi"
|
||||||
|
: "https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi";
|
||||||
|
window.location.href = url;
|
||||||
|
}, 5000); // Wait 5 seconds
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user