Allows the launcher to set a min memory amount of 1GB instead of 3GB.
This commit is contained in:
parent
0194c2b6f1
commit
7c4032767d
@ -45,7 +45,7 @@ const firstLaunch = !fs.existsSync(configPath) && !fs.existsSync(configPathLEGAC
|
|||||||
|
|
||||||
exports.getAbsoluteMinRAM = function(){
|
exports.getAbsoluteMinRAM = function(){
|
||||||
const mem = os.totalmem()
|
const mem = os.totalmem()
|
||||||
return mem >= 6000000000 ? 3 : 2
|
return mem >= 6000000000 ? 1 : 2
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.getAbsoluteMaxRAM = function(){
|
exports.getAbsoluteMaxRAM = function(){
|
||||||
|
Loading…
Reference in New Issue
Block a user