Package pro.gravit.launcher.client
Class ClientLauncherProcess
java.lang.Object
pro.gravit.launcher.client.ClientLauncherProcess
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionintbooleanpro.gravit.utils.helper.JavaHelper.JavaVersionfinal Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionClientLauncherProcess(Path executeFile, Path workDir, Path javaDir, String mainClass) ClientLauncherProcess(Path clientDir, Path assetDir, Path javaDir, Path resourcePackDir, pro.gravit.launcher.profiles.ClientProfile profile, pro.gravit.launcher.profiles.PlayerProfile playerProfile, pro.gravit.launcher.profiles.optional.OptionalView view, String accessToken, pro.gravit.launcher.hasher.HashedDir clientHDir, pro.gravit.launcher.hasher.HashedDir assetHDir, pro.gravit.launcher.hasher.HashedDir jvmHDir) ClientLauncherProcess(Path clientDir, Path assetDir, Path javaDir, pro.gravit.launcher.profiles.ClientProfile profile, pro.gravit.launcher.profiles.PlayerProfile playerProfile, String accessToken, pro.gravit.launcher.hasher.HashedDir clientHDir, pro.gravit.launcher.hasher.HashedDir assetHDir, pro.gravit.launcher.hasher.HashedDir jvmHDir) ClientLauncherProcess(Path clientDir, Path assetDir, pro.gravit.launcher.profiles.ClientProfile profile, pro.gravit.launcher.profiles.PlayerProfile playerProfile, String accessToken, pro.gravit.launcher.hasher.HashedDir clientHDir, pro.gravit.launcher.hasher.HashedDir assetHDir, pro.gravit.launcher.hasher.HashedDir jvmHDir) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringvoidrunWriteParams(SocketAddress address) voidstart(boolean pipeOutput)
-
Field Details
-
params
-
jvmArgs
-
jvmModules
-
jvmModulesPaths
-
systemClientArgs
-
systemClassPath
-
systemEnv
-
mainClass
-
executeFile
-
workDir
-
javaDir
-
bits
public int bits -
useLegacyJavaClassPathProperty
public boolean useLegacyJavaClassPathProperty -
isStarted
public boolean isStarted -
javaVersion
public pro.gravit.utils.helper.JavaHelper.JavaVersion javaVersion
-
-
Constructor Details
-
ClientLauncherProcess
-
ClientLauncherProcess
public ClientLauncherProcess(Path clientDir, Path assetDir, Path javaDir, pro.gravit.launcher.profiles.ClientProfile profile, pro.gravit.launcher.profiles.PlayerProfile playerProfile, String accessToken, pro.gravit.launcher.hasher.HashedDir clientHDir, pro.gravit.launcher.hasher.HashedDir assetHDir, pro.gravit.launcher.hasher.HashedDir jvmHDir) -
ClientLauncherProcess
public ClientLauncherProcess(Path clientDir, Path assetDir, pro.gravit.launcher.profiles.ClientProfile profile, pro.gravit.launcher.profiles.PlayerProfile playerProfile, String accessToken, pro.gravit.launcher.hasher.HashedDir clientHDir, pro.gravit.launcher.hasher.HashedDir assetHDir, pro.gravit.launcher.hasher.HashedDir jvmHDir) -
ClientLauncherProcess
public ClientLauncherProcess(Path clientDir, Path assetDir, Path javaDir, Path resourcePackDir, pro.gravit.launcher.profiles.ClientProfile profile, pro.gravit.launcher.profiles.PlayerProfile playerProfile, pro.gravit.launcher.profiles.optional.OptionalView view, String accessToken, pro.gravit.launcher.hasher.HashedDir clientHDir, pro.gravit.launcher.hasher.HashedDir assetHDir, pro.gravit.launcher.hasher.HashedDir jvmHDir)
-
-
Method Details
-
getPathSeparator
-
start
- Throws:
IOExceptionInterruptedException
-
runWriteParams
- Throws:
IOException
-
getProcess
-