mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-25 13:36:21 +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"
|
||||
},
|
||||
memory: {
|
||||
max: "6000",
|
||||
min: "4000"
|
||||
max: "6G",
|
||||
min: "4G"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -99,8 +99,8 @@ class MCLCore extends EventEmitter {
|
|||
'-Dfml.ignorePatchDiscrepancies=true',
|
||||
'-Dfml.ignoreInvalidMinecraftCertificates=true',
|
||||
`-Djava.library.path=${nativePath}`,
|
||||
`-Xmx${this.options.memory.max}M`,
|
||||
`-Xms${this.options.memory.min}M`
|
||||
`-Xmx${this.options.memory.max}`,
|
||||
`-Xms${this.options.memory.min}`
|
||||
]
|
||||
if (this.handler.getOS() === 'osx') {
|
||||
if (parseInt(versionFile.id.split('.')[1]) > 12) jvm.push(await this.handler.getJVM())
|
||||
|
|
Loading…
Add table
Reference in a new issue