mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-22 12:16:21 +03:00
parent
d9d5e21c76
commit
db19c68fb8
2 changed files with 3 additions and 2 deletions
|
@ -81,6 +81,7 @@ launcher.on('data', (e) => console.log(e));
|
|||
| `options.timeout` | Integer | Timeout on download requests. | False |
|
||||
| `options.window.width` | String | Width of the Minecraft Client | False |
|
||||
| `options.window.height` | String | Height of the Minecraft Client. | False |
|
||||
| `options.window.fullscreen` | Boolean| Fullscreen of the Minecraft Client. | False |
|
||||
| `options.overrides` | Object | Json object redefining paths for better customization. Example below. | False |
|
||||
| `options.overrides.minArgs`| Integer| The amount of launch arguments specified in the version file before it adds the default again| False |
|
||||
```js
|
||||
|
|
|
@ -499,7 +499,7 @@ class Handler {
|
|||
}
|
||||
}
|
||||
|
||||
if(this.options.window) args.push('--width', this.options.window.width, '--height', this.options.window.height);
|
||||
if(this.options.window) this.options.window.fullscreen ? args.push('--fullscreen') : args.push('--width', this.options.window.width, '--height', this.options.window.height);
|
||||
if(this.options.server) args.push('--server', this.options.server.host, '--port', this.options.server.port || "25565");
|
||||
if(this.options.proxy) args.push(
|
||||
'--proxyHost',
|
||||
|
|
Loading…
Add table
Reference in a new issue