[GH-ISSUE #54] Use upstream libui-node #30

Closed
opened 2026-05-05 11:29:05 -06:00 by gitea-mirror · 12 comments
Owner

Originally created by @mischnic on GitHub (Mar 15, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/54

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.

7741dd2fcc/package.json (L36)

Originally created by @mischnic on GitHub (Mar 15, 2018). Original GitHub issue: https://github.com/kusti8/proton-native/issues/54 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. https://github.com/kusti8/proton-native/blob/7741dd2fccbce773ce4bea709fef30b2773e82d5/package.json#L36
Author
Owner

@kusti8 commented on GitHub (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.

<!-- gh-comment-id:373551562 --> @kusti8 commented on GitHub (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.
Author
Owner

@mischnic commented on GitHub (Mar 18, 2018):

@parro-it ?

<!-- gh-comment-id:374001610 --> @mischnic commented on GitHub (Mar 18, 2018): @parro-it ?
Author
Owner

@parro-it commented on GitHub (Mar 19, 2018):

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

<!-- gh-comment-id:374320897 --> @parro-it commented on GitHub (Mar 19, 2018): Just released 0.1.0 on npm. I'm testing now with my fork of proton... I will publish a PR here.
Author
Owner

@mischnic commented on GitHub (Mar 19, 2018):

@parro-it This can get you started: d42ab2b731

<!-- gh-comment-id:374321708 --> @mischnic commented on GitHub (Mar 19, 2018): @parro-it This can get you started: https://github.com/mischnic/proton-native/commit/d42ab2b7319b5fdd3612b5f8c8ec27b4613c416c
Author
Owner

@parro-it commented on GitHub (Mar 19, 2018):

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)

<!-- gh-comment-id:374323012 --> @parro-it commented on GitHub (Mar 19, 2018): 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)
Author
Owner

@kusti8 commented on GitHub (Mar 19, 2018):

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

<!-- gh-comment-id:374323531 --> @kusti8 commented on GitHub (Mar 19, 2018): Does libui not need to be initialized anymore ? I noticed that was taken out in the fork.
Author
Owner

@parro-it commented on GitHub (Mar 19, 2018):

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

image

Electron is not a direct proton dependency AFAIK

<!-- gh-comment-id:374323765 --> @parro-it commented on GitHub (Mar 19, 2018): Any idea why I get Electron installed when I `npm install` proton? ![image](https://user-images.githubusercontent.com/11197111/37615721-3f5e5f58-2bae-11e8-8868-671a08337216.png) Electron is not a direct proton dependency AFAIK
Author
Owner

@parro-it commented on GitHub (Mar 19, 2018):

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

<!-- gh-comment-id:374324112 --> @parro-it commented on GitHub (Mar 19, 2018): > 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
Author
Owner

@mischnic commented on GitHub (Mar 19, 2018):

Not of proton, but the react dev tools:
57896ffed9/package.json (L50)

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

e10f481861/src/render/index.js (L17-L22)

PR: https://github.com/kusti8/proton-native/pull/57

<!-- gh-comment-id:374324362 --> @mischnic commented on GitHub (Mar 19, 2018): Not of proton, but the react dev tools: https://github.com/kusti8/proton-native/blob/57896ffed96188a40328b4239858a110f395b1f6/package.json#L50 @kusti8 How does integration with the dev tools work? This doesn't: https://github.com/kusti8/proton-native/blob/e10f4818611e7f61261865678e127cd6bd56c3c8/src/render/index.js#L17-L22 --- PR: https://github.com/kusti8/proton-native/pull/57
Author
Owner

@kusti8 commented on GitHub (Mar 19, 2018):

I used to use the dev tools to debug some of the code that wasn't working.
It isn't strictly necessary anymore.

On Mon, Mar 19, 2018, 2:49 PM Niklas Mischkulnig notifications@github.com
wrote:

Not of proton, but the react dev tools:

57896ffed9/package.json (L50)
@kusti8 https://github.com/kusti8 How does integration with the dev
tools work? This doesn't:
e10f481861/src/render/index.js (L17-L22)

PR: #57 https://github.com/kusti8/proton-native/pull/57


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
https://github.com/kusti8/proton-native/issues/54#issuecomment-374324362,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJW73Gl2e2rQuRtZamUOw0Cmq69eqrxCks5tf_3HgaJpZM4Ss9ur
.

<!-- gh-comment-id:374325248 --> @kusti8 commented on GitHub (Mar 19, 2018): I used to use the dev tools to debug some of the code that wasn't working. It isn't strictly necessary anymore. On Mon, Mar 19, 2018, 2:49 PM Niklas Mischkulnig <notifications@github.com> wrote: > Not of proton, but the react dev tools: > > https://github.com/kusti8/proton-native/blob/57896ffed96188a40328b4239858a110f395b1f6/package.json#L50 > @kusti8 <https://github.com/kusti8> How does integration with the dev > tools work? This doesn't: > https://github.com/kusti8/proton-native/blob/e10f4818611e7f61261865678e127cd6bd56c3c8/src/render/index.js#L17-L22 > > PR: #57 <https://github.com/kusti8/proton-native/pull/57> > > — > You are receiving this because you were mentioned. > > > Reply to this email directly, view it on GitHub > <https://github.com/kusti8/proton-native/issues/54#issuecomment-374324362>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AJW73Gl2e2rQuRtZamUOw0Cmq69eqrxCks5tf_3HgaJpZM4Ss9ur> > . >
Author
Owner

@mischnic commented on GitHub (Mar 19, 2018):

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

<!-- gh-comment-id:374325741 --> @mischnic commented on GitHub (Mar 19, 2018): I tried commenting out these lines and the dev tools started by `npx react-dev-tool` didn't connect to proton.
Author
Owner

@parro-it commented on GitHub (Mar 19, 2018):

It's working 🎉

image

@mischnic I pushed to your fork

<!-- gh-comment-id:374332856 --> @parro-it commented on GitHub (Mar 19, 2018): It's working 🎉 ![image](https://user-images.githubusercontent.com/11197111/37616913-affdcf84-2bb1-11e8-82c4-652a8fdbc895.png) @mischnic I pushed to your fork
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#30
No description provided.