Skip to content

Interface InstallJavaOptions

🏷️ Properties

agent

ts
agent: DownloadAgent

The download agent Inherited from: DownloadBaseOptions.agent

Defined in: packages/file-transfer/download.ts:20

cacheDir

ts
cacheDir: string

The cached directory which compressed java lzma will be download to.

Defined in: packages/installer/java.ts:36

destination

ts
destination: string

The destination of this installation

Defined in: packages/installer/java.ts:31

dispatcher

ts
dispatcher: Dispatcher

The dispatcher for API

Defined in: packages/installer/java.ts:49

headers

ts
headers: Record<string, any>

The header of the request Inherited from: DownloadBaseOptions.headers

Defined in: packages/file-transfer/download.ts:16

platform

ts
platform: Platform

The platform to install. It will be auto-resolved by default.

Defined in: packages/installer/java.ts:41

skipPrevalidate

ts
skipPrevalidate: boolean

Should skip prevalidate the file Inherited from: DownloadBaseOptions.skipPrevalidate

Defined in: packages/file-transfer/download.ts:30

skipRevalidate

ts
skipRevalidate: boolean

Re-validate the file after download success Inherited from: DownloadBaseOptions.skipRevalidate

Defined in: packages/file-transfer/download.ts:25

unpackLZMA

ts
unpackLZMA: UnpackLZMAFunction

Unpack lzma function. It must present, else it will not be able to unpack mojang provided LZMA.

Defined in: packages/installer/java.ts:45

Released under the MIT License.