Does node-webkit support running multiple different apps?

11 views
Skip to first unread message

neile...@gmail.com

unread,
Mar 27, 2014, 4:24:35 PM3/27/14
to node-...@googlegroups.com
I had fun developing a little team-city build watcher app using node-webkit.  However I just started developing another little app and it seems like node-webkit doesn't recognize them as being distinct.  Is there a way around this issue? 

I have two apps, one with single-instance set to true, the other to false.  The particular issues I am seeing are:

Both apps share the same localStorage instance.
If I launch the application that has single-instance set to true, I cannot launch the other application at all, (It just switches the focus to the first app and terminates).
If I launch the application that has single-instance set to false, I can launch the single-instance:true app with multiple instances.

I tried packaging the apps and running them that way to see if that would help, but I still ran into the same issues.

Really loving node-webkit; thanks for all your help.

Neil

ngr...@blackmountainsystems.com

unread,
Mar 28, 2014, 1:45:47 PM3/28/14
to node-...@googlegroups.com, neile...@gmail.com
Problems solved.

In case anyone experiences the same issue.  My problem was that I configured the two apps with the same name value in the manifest.  This is why they were being treated as the same app.

https://github.com/rogerwang/node-webkit/wiki/Manifest-format#required-fields

Cheers,

Neil
Reply all
Reply to author
Forward
0 new messages