Update HMCLauncher (#2264)
* 更新 lang.h * 更新 main.cpp * 更新 HMCLauncher.sh
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "os.h"
|
||||
#include "java.h"
|
||||
#include "lang.h"
|
||||
#include <windows.h>
|
||||
|
||||
Version J8(TEXT("8"));
|
||||
|
||||
@@ -49,6 +50,10 @@ void FindJavaInDirAndLaunchJVM(const std::wstring &baseDir, const std::wstring &
|
||||
}
|
||||
}
|
||||
|
||||
void OpenHelpPage() {
|
||||
ShellExecute(0, 0, L"https://docs.hmcl.net/help.html", 0, 0, SW_SHOW);
|
||||
}
|
||||
|
||||
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||
LPWSTR lpCmdLine, int nCmdShow) {
|
||||
std::wstring path, exeName, jvmOptions;
|
||||
|
||||
Reference in New Issue
Block a user