Update HMCLauncher (#2264)

* 更新 lang.h

* 更新 main.cpp

* 更新 HMCLauncher.sh
This commit is contained in:
zkitefly
2023-06-24 09:40:13 +08:00
committed by GitHub
parent ab43d4a6cf
commit 126a6dbbed
3 changed files with 17 additions and 2 deletions

View File

@@ -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;