Use new CLI for the fd binary
This commit is contained in:
parent
d1adf98b25
commit
2f48625a58
|
@ -37,8 +37,14 @@ class FD {
|
|||
this.port = port;
|
||||
this.mock = mock;
|
||||
this.log = (0, log_1.createLog)('fd');
|
||||
if (!this.mock)
|
||||
this.shell = new shell_1.Shell([this.bin, `${this.width}`, `${this.height}`, `${this.port}`], this.logstd.bind(this), this.logsterr.bind(this), null, true);
|
||||
if (!this.mock) {
|
||||
this.shell = new shell_1.Shell([
|
||||
this.bin,
|
||||
'--width', `${this.width}`,
|
||||
'--height', `${this.height}`,
|
||||
'--port', `${this.port}`
|
||||
], this.logstd.bind(this), this.logsterr.bind(this), null, true);
|
||||
}
|
||||
this.startDisplay();
|
||||
this.startClient();
|
||||
//this.test();
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -71,7 +71,14 @@ export class FD {
|
|||
this.port = port;
|
||||
this.mock = mock;
|
||||
this.log = createLog('fd');
|
||||
if (!this.mock) this.shell = new Shell([ this.bin, `${this.width}`, `${this.height}`, `${this.port}` ], this.logstd.bind(this), this.logsterr.bind(this), null, true);
|
||||
if (!this.mock) {
|
||||
this.shell = new Shell([
|
||||
this.bin,
|
||||
'--width', `${this.width}`,
|
||||
'--height', `${this.height}`,
|
||||
'--port', `${this.port}`
|
||||
], this.logstd.bind(this), this.logsterr.bind(this), null, true);
|
||||
}
|
||||
this.startDisplay();
|
||||
this.startClient();
|
||||
//this.test();
|
||||
|
|
Loading…
Reference in New Issue