Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use upstream libui-node #54

Closed
mischnic opened this issue Mar 15, 2018 · 12 comments
Closed

Use upstream libui-node #54

mischnic opened this issue Mar 15, 2018 · 12 comments

Comments

@mischnic
Copy link
Contributor

mischnic commented Mar 15, 2018

The upstream libui-node master should now equal your fork ($ORIGIN rpath on linux and copying nbind.node to the root folder), but it also sets the rpath correctly for macOS.

"libui-node": "kusti8/libui-node",

@kusti8
Copy link
Owner

kusti8 commented Mar 15, 2018

Ok looks good. Did you increment the version a d publish to npm because I didn't see that in your diffs.

@mischnic
Copy link
Contributor Author

@parro-it ?

@parro-it
Copy link
Contributor

Just released 0.1.0 on npm.
I'm testing now with my fork of proton... I will publish a PR here.

@mischnic
Copy link
Contributor Author

@parro-it This can get you started: mischnic@d42ab2b

@parro-it
Copy link
Contributor

Oh great! if you open a PR here of your forks I'll push further changes there (I don't know if I need specific permission to do so)

@kusti8
Copy link
Owner

kusti8 commented Mar 19, 2018

Does libui not need to be initialized anymore ? I noticed that was taken out in the fork.

@parro-it
Copy link
Contributor

Any idea why I get Electron installed when I npm install proton?

image

Electron is not a direct proton dependency AFAIK

@parro-it
Copy link
Contributor

Does libui not need to be initialized anymore ? I noticed that was taken out in the fork.

No, init is now called automatically the first time you require the module. We'll have to update docs & examples

@mischnic
Copy link
Contributor Author

mischnic commented Mar 19, 2018

Not of proton, but the react dev tools:

"react-devtools": "^3.0.0"

@kusti8 How does integration with the dev tools work? This doesn't:

// DesktopRenderer.injectIntoDevTools({
// bundleType: 1,
// version: '0.1.0',
// rendererPackageName: 'custom-renderer',
// findHostInstanceByFiber: DesktopRenderer.findHostInstance
// })

PR: #57

@kusti8
Copy link
Owner

kusti8 commented Mar 19, 2018 via email

@mischnic
Copy link
Contributor Author

I tried commenting out these lines and the dev tools started by npx react-dev-tool didn't connect to proton.

@parro-it
Copy link
Contributor

It's working 🎉

image

@mischnic I pushed to your fork

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

No branches or pull requests

3 participants