main: add -b / --blank cli option to start with a blank session
This commit is contained in:
parent
5ef92b9c50
commit
b7910411bd
2 changed files with 11 additions and 2 deletions
|
|
@ -11,8 +11,15 @@ module.exports = {
|
|||
ipc.send('connected')
|
||||
|
||||
if (settings.read('theme')) ipc.send('applyStyle',settings.read('theme'),clientId)
|
||||
if (settings.read('sessionFile')) this.sessionOpen({path:settings.read('sessionFile')},clientId)
|
||||
var recentSessions = settings.read('recentSessions')
|
||||
|
||||
if (settings.read('newSession')) {
|
||||
ipc.send('sessionNew')
|
||||
return
|
||||
}
|
||||
|
||||
if (settings.read('sessionFile')) this.sessionOpen({path:settings.read('sessionFile')},clientId)
|
||||
|
||||
var recentSessions = settings.read('recentSessions')
|
||||
|
||||
if (settings.read('examples')) {
|
||||
var dir = path.resolve(__dirname + '/../examples')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue