cli/launcher: add file browser button for the theme option and fix parsing path containing spaces if only one theme is set
This commit is contained in:
parent
44b7729117
commit
2ccb55c08f
3 changed files with 19 additions and 8 deletions
|
|
@ -58,7 +58,7 @@ module.exports = {
|
|||
'd': {alias: 'debug', type: 'boolean', describe: 'log received osc messages in the console'},
|
||||
'n': {alias: 'no-gui', type: 'boolean', describe: 'disable default gui'},
|
||||
'fullscreen': {type: 'boolean', describe: 'launch in fullscreen mode (only affects the default client gui)'},
|
||||
't': {alias: 'theme', type: 'array', describe: 'theme name or path (multiple values allowed)'},
|
||||
't': {alias: 'theme', type: 'array', file: {name: 'css file (.css)', extensions: ['css']}, describe: 'theme name or path (multiple values allowed)'},
|
||||
'client-options': {type: 'array', describe: 'client options (opt=value pairs)',
|
||||
check: (o)=>{
|
||||
return o.some(item=>!item.match(/^[^=]*=[^=]*$/)) ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue