App start event?

9 views
Skip to first unread message

jun lin

unread,
Mar 18, 2014, 11:22:43 PM3/18/14
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 PM3/18/14
to node-...@googlegroups.com

jun lin

unread,
Mar 18, 2014, 11:30:56 PM3/18/14
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 PM3/18/14
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