Attempt to flush the rageshake logs on close

... so that we get to see what happened in the last 30s.
This commit is contained in:
Richard van der Hoff 2017-06-22 18:25:19 +01:00
parent fab50bc1f1
commit cc56ef3abd
4 changed files with 23 additions and 0 deletions

View file

@ -242,6 +242,9 @@ electron.app.on('activate', () => {
electron.app.on('before-quit', () => {
global.appQuitting = true;
if (mainWindow) {
mainWindow.webContents.send('before-quit');
}
});
// Set the App User Model ID to match what the squirrel