Make 'Restart Signal' actually restart Signal

Previously it would just reload the page.

// FREEBIE
This commit is contained in:
lilia 2017-05-07 14:39:43 -07:00 committed by Scott Nonnenberg
parent bc71f4aa2b
commit 7c6da5a157
No known key found for this signature in database
GPG key ID: A4931C09644C654B
3 changed files with 9 additions and 1 deletions

View file

@ -212,3 +212,7 @@ ipc.on('draw-attention', function(event, count) {
}, 1000);
}
});
ipc.on('restart', function(event) {
app.relaunch();
app.quit();
});