Make 'Restart Signal' actually restart Signal
Previously it would just reload the page. // FREEBIE
This commit is contained in:
parent
bc71f4aa2b
commit
7c6da5a157
3 changed files with 9 additions and 1 deletions
4
main.js
4
main.js
|
@ -212,3 +212,7 @@ ipc.on('draw-attention', function(event, count) {
|
|||
}, 1000);
|
||||
}
|
||||
});
|
||||
ipc.on('restart', function(event) {
|
||||
app.relaunch();
|
||||
app.quit();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue