HMCLauncher: try bundled JRE

This commit is contained in:
huanghongxun
2019-02-08 22:05:16 +08:00
parent f0c7f54cc6
commit 426ea607e8
12 changed files with 375 additions and 5 deletions

10
HMCLauncher/HMCL/java.h Normal file
View File

@@ -0,0 +1,10 @@
#pragma once
#include <windows.h>
#include <string>
#include "Version.h"
// Find Java installation in system registry
bool FindJavaInRegistry(std::wstring &path);
// Find Java Installation in registry and environment variable
bool FindJava(std::wstring &path);