Interface InstallJavaOptions
🏷️ Properties
agent optional
agent: DownloadAgent
The download agent Inherited from: DownloadBaseOptions.agent
Defined in: packages/file-transfer/download.ts:20
cacheDir optional
cacheDir: string
The cached directory which compressed java lzma will be download to.
Defined in: packages/installer/java.ts:36
destination
destination: string
The destination of this installation
Defined in: packages/installer/java.ts:31
dispatcher optional
dispatcher: Dispatcher
The dispatcher for API
Defined in: packages/installer/java.ts:49
headers optional
headers: Record<string, any>
The header of the request Inherited from: DownloadBaseOptions.headers
Defined in: packages/file-transfer/download.ts:16
platform optional
platform: Platform
The platform to install. It will be auto-resolved by default.
Defined in: packages/installer/java.ts:41
skipPrevalidate optional
skipPrevalidate: boolean
Should skip prevalidate the file Inherited from: DownloadBaseOptions.skipPrevalidate
Defined in: packages/file-transfer/download.ts:30
skipRevalidate optional
skipRevalidate: boolean
Re-validate the file after download success Inherited from: DownloadBaseOptions.skipRevalidate
Defined in: packages/file-transfer/download.ts:25
unpackLZMA
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