[FEATURE] Добавление параметра bits к ClientProcess API

This commit is contained in:
Gravit 2020-07-24 20:39:23 +07:00
parent 84617f2fbc
commit 48a2a8346a
No known key found for this signature in database
GPG key ID: 98A079490768CCE5

View file

@ -34,6 +34,7 @@ public class ClientLauncherProcess {
public Path executeFile; public Path executeFile;
public Path workDir; public Path workDir;
public Path javaDir; public Path javaDir;
public int bits;
public boolean useLegacyJavaClassPathProperty; public boolean useLegacyJavaClassPathProperty;
public boolean isStarted; public boolean isStarted;
private transient Process process; private transient Process process;
@ -73,6 +74,7 @@ public ClientLauncherProcess(Path clientDir, Path assetDir, Path javaDir, Path r
this.params.assetHDir = assetHDir; this.params.assetHDir = assetHDir;
this.params.clientHDir = clientHDir; this.params.clientHDir = clientHDir;
this.params.javaHDir = jvmHDir; this.params.javaHDir = jvmHDir;
this.bits = JVMHelper.JVM_BITS;
applyClientProfile(); applyClientProfile();
} }