main: fix --remote-saving

This commit is contained in:
jean-emmanuel 2019-01-22 22:39:22 +01:00
parent fa6fe167f6
commit cb09955fe1
2 changed files with 7 additions and 2 deletions

View file

@ -73,8 +73,8 @@ var makeDefaultConfig = function(argv){
urlOptions: argv['url-options'] ? '?' + argv['url-options'].join('&') : '',
noVsync: argv['disable-vsync'] || false,
noGpu: argv['disable-gpu'] || false,
readOnly: argv['read-only'] ? RegExp(argv['read-only']) : false,
remoteSaving: argv['remote-saving'] || false,
readOnly: argv['read-only'] || false,
remoteSaving: argv['remote-saving'] ? RegExp(argv['remote-saving']) : false,
midi: argv['midi'],
stateFile: (function(){
if (!argv['state']) return false