Merge branch 'master' of github.com:Eugeny/terminus

This commit is contained in:
Eugene Pankov
2021-01-24 19:27:42 +01:00
5 changed files with 20 additions and 7 deletions

View File

@@ -65,6 +65,7 @@ export class Window {
enableRemoteModule: true,
contextIsolation: false,
},
maximizable: true,
frame: false,
show: false,
backgroundColor: '#00000000',
@@ -229,8 +230,8 @@ export class Window {
}
}
handleSecondInstance (argv: string[], cwd: string): void {
this.send('host:second-instance', parseArgs(argv, cwd), cwd)
passCliArguments (argv: string[], cwd: string, secondInstance: boolean): void {
this.send('cli', parseArgs(argv, cwd), cwd, secondInstance)
}
private setupWindowManagement () {