Interface InstallOptifineOptions
Shared install options
🏷️ Properties
inheritsFrom optional
inheritsFrom: string
When you want to install a version over another one.
Like, you want to install liteloader over a forge version. You should fill this with that forge version id. Inherited from: InstallOptions.inheritsFrom
Defined in: packages/installer/utils.ts:109
java optional
java: string
The java exectable path. It will use java
by default. Inherited from: SpawnJavaOptions.java
Defined in: packages/installer/utils.ts:43
spawn optional
spawn: (command: string, args?: readonly string[], options?: SpawnOptions) => ChildProcess
The spawn process function. Used for spawn the java process at the end.
By default, it will be the spawn function from "child_process" module. You can use this option to change the 3rd party spawn like cross-spawnInherited from: SpawnJavaOptions.spawn
Defined in: packages/installer/utils.ts:50
useForgeTweaker optional
useForgeTweaker: boolean
Use "optifine.OptiFineForgeTweaker" instead of "optifine.OptiFineTweaker" for tweakClass.
If you want to install upon forge, you should use this.
Defined in: packages/installer/optifine.ts:14
versionId optional
versionId: string
Override the newly installed version id.
If this is absent, the installed version id will be either generated or provided by installer. Inherited from: InstallOptions.versionId
Defined in: packages/installer/utils.ts:116