mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2024-12-15 06:50:12 +08:00
Update main.cpp (#1900)
This commit is contained in:
parent
3843002113
commit
e0c97da9fd
@ -156,14 +156,14 @@ error:
|
||||
|
||||
if (isWin7OrLater) {
|
||||
if (isARM64) {
|
||||
downloadLink = L"https://aka.ms/download-jdk/microsoft-jdk-17-windows-aarch64.msi";
|
||||
downloadLink = L"https://docs.hmcl.net/downloads/windows-aarch64.html";
|
||||
} if (isX64) {
|
||||
downloadLink = L"https://aka.ms/download-jdk/microsoft-jdk-17-windows-x64.msi";
|
||||
downloadLink = L"https://docs.hmcl.net/downloads/windows-x64.html";
|
||||
} else {
|
||||
downloadLink = L"https://download.bell-sw.com/java/17.0.4.1+1/bellsoft-jre17.0.4.1+1-windows-i586-full.msi";
|
||||
downloadLink = L"https://docs.hmcl.net/downloads/windows-i586.html";
|
||||
}
|
||||
} else {
|
||||
downloadLink = L"https://www.java.com";
|
||||
downloadLink = L"https://docs.hmcl.net/downloads/java.html";
|
||||
}
|
||||
|
||||
if (IDOK == MessageBox(NULL, useChinese ? ERROR_PROMPT_ZH : ERROR_PROMPT, useChinese ? ERROR_TITLE_ZH : ERROR_TITLE, MB_ICONWARNING | MB_OKCANCEL)) {
|
||||
|
Loading…
Reference in New Issue
Block a user