I currently have a node-webkit app for Mac and Windows. When you close the window, the app keeps running in the background and can be reopened trough the system tray.
I would like to let my users open the window from the executable (think the shortcut to the .exe on the desktop).
On Mac, I did this to allow users to open the window from the Dock :
var gui = require('nw.gui');
gui.App.on('reopen', function() {
win.show();
});
But, according to the documentation, the 'reopen' event is a Mac only feature.
Is it possible to have the same behaviour on Windows ? How ?