Allows the launcher to set a min memory amount of 1GB instead of 3GB.

This commit is contained in:
AzureZhen 2019-08-05 23:00:50 -04:00
parent 0194c2b6f1
commit 7c4032767d

View File

@ -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(){