mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-04-18 18:40:34 +08:00
Replace 'java.com' with 'www.microsoft.com/openjdk'
This commit is contained in:
parent
69ddc939b3
commit
2b21f5f48f
@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#define ERROR_PROMPT L"Java installation cannot be found in this computer, please download it from https://java.com \n" \
|
||||
L"未能在这台电脑上找到Java,请从 https://java.com 下载安装Java"
|
||||
#define ERROR_PROMPT L"Java installation cannot be found in this computer, please download it from https://www.microsoft.com/openjdk \n" \
|
||||
L"未能在这台电脑上找到Java,请从 https://www.microsoft.com/openjdk 下载安装Java"
|
@ -100,6 +100,6 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||
RawLaunchJVM(L"javaw", workdir, exeName);
|
||||
|
||||
MessageBox(NULL, ERROR_PROMPT, L"Error", MB_ICONERROR | MB_OK);
|
||||
ShellExecute(0, 0, L"https://java.com/", 0, 0, SW_SHOW);
|
||||
ShellExecute(0, 0, L"https://www.microsoft.com/openjdk", 0, 0, SW_SHOW);
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user