fix restart app on config change option

This commit is contained in:
Araxeus
2022-01-20 22:54:19 +02:00
parent 44aa62c9c8
commit 74b67c3d33
12 changed files with 54 additions and 40 deletions

View File

@ -0,0 +1,6 @@
const app = require("electron").app || require('@electron/remote').app;
module.exports.restart = () => {
app.relaunch();
app.exit();
};