Merge branch 'master' of github.com:jean-emmanuel/open-stage-control

This commit is contained in:
bordun 2020-08-28 13:28:50 +02:00
commit 3ec0f44763
5 changed files with 6 additions and 5 deletions

View file

@ -166,7 +166,7 @@ if (settings.cli) {
}
}
global.serverProcess = spawn(process.argv[0], args, {stdio: 'pipe', env: {'ELECTRON_RUN_AS_NODE':'1'}})
global.serverProcess = spawn(process.argv[0], args, {stdio: 'pipe', env: {...process.env, 'ELECTRON_RUN_AS_NODE':'1'}})
launcher.webContents.send('server-started')
if (!settings.read('no-gui')) {

View file

@ -80,7 +80,7 @@ module.exports = {
'disable-vsync': {type: 'boolean', describe: 'disable gui\'s vertical synchronization', restart: true},
'force-gpu': {type: 'boolean', describe: 'ignore chrome\'s gpu blacklist', restart: true},
'read-only': {type: 'boolean', describe: 'disable session editing and session history changes'},
'remote-saving': {type: 'string', describe: 'disable remote session saving for hosts that don\'t match the regular expresion',
'remote-saving': {type: 'string', describe: 'disable remote session saving for hosts that don\'t match the regular expression',
check: (r, argv)=>{
var msg = true
try {