Skip to content
This repository has been archived by the owner on Jun 20, 2020. It is now read-only.

Electron Possibilities #33

Open
klaussa opened this issue May 7, 2018 · 1 comment
Open

Electron Possibilities #33

klaussa opened this issue May 7, 2018 · 1 comment

Comments

@klaussa
Copy link

klaussa commented May 7, 2018

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

@paps
Copy link
Member

paps commented May 8, 2018

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! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants