node: adjust logs
This commit is contained in:
parent
37f98c38cc
commit
10e0869c3a
1 changed files with 4 additions and 1 deletions
|
|
@ -5,10 +5,13 @@ var serverStarted
|
|||
|
||||
function nodeMode() {
|
||||
|
||||
console.warn('Running with node')
|
||||
|
||||
|
||||
if (!settings.read('noGui')) {
|
||||
settings.cli = true
|
||||
settings.write('noGui', true, true)
|
||||
console.warn('Running with node: headless mode (--no-gui) enabled automatically')
|
||||
console.warn('Headless mode (--no-gui) enabled automatically')
|
||||
}
|
||||
|
||||
process.on('uncaughtException', (err)=>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue