mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-06 05:33:58 +03:00
Merge branch 'pr/51'
This commit is contained in:
commit
1f50ad1ff8
2 changed files with 4 additions and 4 deletions
|
@ -38,8 +38,8 @@ let opts = {
|
||||||
type: "release"
|
type: "release"
|
||||||
},
|
},
|
||||||
memory: {
|
memory: {
|
||||||
max: "6000",
|
max: "6G",
|
||||||
min: "4000"
|
min: "4G"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,8 +99,8 @@ class MCLCore extends EventEmitter {
|
||||||
'-Dfml.ignorePatchDiscrepancies=true',
|
'-Dfml.ignorePatchDiscrepancies=true',
|
||||||
'-Dfml.ignoreInvalidMinecraftCertificates=true',
|
'-Dfml.ignoreInvalidMinecraftCertificates=true',
|
||||||
`-Djava.library.path=${nativePath}`,
|
`-Djava.library.path=${nativePath}`,
|
||||||
`-Xmx${this.options.memory.max}M`,
|
`-Xmx${this.options.memory.max}`,
|
||||||
`-Xms${this.options.memory.min}M`
|
`-Xms${this.options.memory.min}`
|
||||||
]
|
]
|
||||||
if (this.handler.getOS() === 'osx') {
|
if (this.handler.getOS() === 'osx') {
|
||||||
if (parseInt(versionFile.id.split('.')[1]) > 12) jvm.push(await this.handler.getJVM())
|
if (parseInt(versionFile.id.split('.')[1]) > 12) jvm.push(await this.handler.getJVM())
|
||||||
|
|
Loading…
Reference in a new issue