launcher: fix startup and filer node debug error
This commit is contained in:
parent
095995025e
commit
1b7cf0339b
2 changed files with 9 additions and 2 deletions
|
|
@ -1,5 +1,10 @@
|
|||
# Changelog
|
||||
|
||||
## 1.7.7
|
||||
|
||||
- bug fixes
|
||||
- startup regression
|
||||
|
||||
## 1.7.6
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ if (settings.cli) {
|
|||
|
||||
ipcMain.on('start',function(e, options){
|
||||
|
||||
var args = ['--', '--no-gui']
|
||||
var args = [ '--no-gui']
|
||||
|
||||
// if (process.platform === 'win32') args.unshift('--') // not needed with ELECTRON_RUN_AS_NODE since '--' is always prepended
|
||||
for (var k in settings.read('options')) {
|
||||
|
|
@ -183,7 +183,9 @@ if (settings.cli) {
|
|||
})
|
||||
|
||||
global.serverProcess.stderr.on('data', (data) => {
|
||||
console.error(String(data).trim())
|
||||
var str = String(data).trim()
|
||||
if (str.includes('--debug')) return
|
||||
console.error(str)
|
||||
})
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue