nickjs icon indicating copy to clipboard operation
nickjs copied to clipboard

Electron Possibilities

Open klaussa opened this issue 6 years ago • 1 comments

Can nick run inside an existing running electron instance and use the api to control it? If so, how would the configuration look like ?

klaussa avatar May 07 '18 20:05 klaussa

It's technically possible to do this if you have a running Chrome process with its remote debugging port open and listening (so that the DevTools protocol can be used). I'm not very familiar with Electron, I don't know if that is possible in the context of an Electron process.

However, in any case, NickJS' constructor does not yet support specifying an already running Chrome instance as target. NickJS always starts a fresh Chrome process which is not what we want in this case... I'll get to adding this feature eventually. In the meantime, PRs welcome! :)

paps avatar May 08 '18 16:05 paps