Support of stderr CRITICAL issues forwarded to app

This commit is contained in:
ziajka
2019-02-20 11:32:54 +01:00
parent 16185d2461
commit cdadbd9140
4 changed files with 39 additions and 15 deletions

View File

@ -63,7 +63,7 @@ function createWindow () {
// Dereference the window object, usually you would store windows
// in an array if your app supports multi windows, this is the time
// when you should delete the corresponding element.
mainWindow = null
mainWindow = null;
});
@ -94,7 +94,7 @@ app.on('activate', function () {
// On OS X it's common to re-create a window in the app when the
// dock icon is clicked and there are no other windows open.
if (mainWindow === null) {
createWindow()
createWindow();
}
});