Skip to content

Commit 9ac351f

Browse files
author
Hiraoka
committedDec 1, 2020
add option.repl for #61 (external control)
1 parent b142a05 commit 9ac351f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/main.js

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const default_option = {
4343
preset: [{label: "leelaz", engine: ["leelaz", "-g", "-w", "network.gz"]}],
4444
record_note_to_SGF: false,
4545
auto_overview: true,
46+
repl: false,
4647
}
4748
const option = {}
4849
let white_preset = []
@@ -229,6 +230,7 @@ fs.access(option.sabaki_command, null,
229230

230231
app.on('ready', () => {
231232
restart_leelaz_by_preset(option.preset[0], true); new_window('double_boards')
233+
option.repl && start_repl()
232234
})
233235
app.on('window-all-closed', app.quit)
234236
app.on('quit', () => {store_session(true); kill_all_leelaz()})

0 commit comments

Comments
 (0)
Please sign in to comment.