Groups
Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Groups
nw.js
Conversations
About
App start event?
9 views
Skip to first unread message
jun lin
unread,
Mar 18, 2014, 11:22:43 PM
3/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
I need to run some code before any window opens, is there any way to run a hook?
Also, node run as a single instance, I want to call some hook code after run app again(like show the hidden windows).
jun lin
unread,
Mar 18, 2014, 11:25:27 PM
3/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
Got it, use node-main:
https://github.com/rogerwang/node-webkit/wiki/node-main
jun lin
unread,
Mar 18, 2014, 11:30:56 PM
3/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
And still need a way to call something after run app after there is still another instance.
jun lin
unread,
Mar 18, 2014, 11:36:37 PM
3/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
There is a workaround: set
single-instance to false,
and check if here is another nodewebkit running,
and tell it open(use signal or sth), then close self.
Reply all
Reply to author
Forward
0 new messages