better handling of CLI args - fixes #1436

This commit is contained in:
Eugene Pankov
2021-01-24 19:06:41 +01:00
parent 0cf883cc4a
commit f103e71285
4 changed files with 17 additions and 7 deletions

View File

@@ -147,7 +147,7 @@ export class Application {
handleSecondInstance (argv: string[], cwd: string): void {
this.presentAllWindows()
this.windows[this.windows.length - 1].handleSecondInstance(argv, cwd)
this.windows[this.windows.length - 1].passCliArguments(argv, cwd, true)
}
private setupMenu () {