close gracefully on osx until we can make new window from the tray

This commit is contained in:
Alan Stoll 2014-07-03 09:23:40 -04:00
commit 8080c872f8

View file

@ -12,7 +12,7 @@ module.exports = function(copay) {
// quit when all windows are closed
app.on('window-all-closed', function() {
if (process.platform !== 'darwin') app.quit();
app.quit();
});
// initilization when ready