parent
a6f7c7690d
commit
71fb19ea14
9 changed files with 288 additions and 715 deletions
|
@ -65,11 +65,11 @@ class RemoteControlApp {
|
|||
req.write(js);
|
||||
req.end();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
remotely = (script: Function, ...args: any[]): Promise<any> => {
|
||||
return this.remoteEval(`(${script})(...${JSON.stringify(args)})`);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export async function startRemoteControlApp (extraArgs: string[] = [], options?: childProcess.SpawnOptionsWithoutStdio) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue