make DefaultGameRepositoy.readVersionJson nonnull.

This commit is contained in:
huanghongxun
2019-02-10 10:51:04 +08:00
parent e8f5088049
commit 9a6f07d7c9
7 changed files with 11 additions and 25 deletions

View File

@@ -20,7 +20,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd
if (ERROR_SUCCESS != MyGetModuleFileName(NULL, exeName))
return 1;
// TODO: check whether the bundled JRE is valid.
// First try the Java packaged together.
bool is64Bit = false;
GetArch(is64Bit); // if failed to determine architecture of operating system, consider 32-bit.