Merge Develop into Master
This commit is contained in:
1 parent
2d7ed1d085
commit
2bb78c50fb
4223 files changed
+1207152
-16544
No files matched your search
@@ -11,7 +11,7 @@ if (
|
||||
|
||||
console.log('Superalgos')
|
||||
console.log('')
|
||||
console.log('VERSION: Beta 10')
|
||||
console.log('VERSION: Beta 11')
|
||||
console.log('')
|
||||
console.log('WEB: https://www.superalgos.org')
|
||||
console.log('')
|
||||
@@ -80,17 +80,27 @@ if (optionsAccepted === 0) {
|
||||
console.log('')
|
||||
console.log('')
|
||||
|
||||
try {
|
||||
const { fork } = require('child_process')
|
||||
fork('./Client/client.js', process.argv, options)
|
||||
} catch (err) {
|
||||
console.log('')
|
||||
console.log('Fail to create Client Process.')
|
||||
console.log('')
|
||||
const fs = require('fs')
|
||||
const path = './Client/node_modules'
|
||||
if ( fs.existsSync(path) ) {
|
||||
|
||||
fatalErrorHelp()
|
||||
try {
|
||||
const { fork } = require('child_process')
|
||||
fork('./Client/client.js', process.argv, options)
|
||||
} catch (err) {
|
||||
console.log('')
|
||||
console.log('Fail to create Client Process.')
|
||||
console.log('')
|
||||
|
||||
fatalErrorHelp()
|
||||
}
|
||||
} else {
|
||||
console.log('')
|
||||
console.log('ERROR: node_modules does not exist. Try running node setup to solve this issue. Then try again. You can finded detailed instructions for this in the ReadMe.')
|
||||
console.log('')
|
||||
}
|
||||
|
||||
|
||||
function fatalErrorHelp() {
|
||||
console.log('')
|
||||
console.log('* If your device does not have MORE than 8GB of RAM then please use the minMemo option.')
|
||||
|
||||
Reference in new issue
Block a user