Fix: Alas backend haven't been killed when exit from tray menu

This commit is contained in:
LmeSzinc 2022-01-14 00:32:48 +08:00
parent b8be504cb6
commit 94f4167396

View File

@ -125,7 +125,9 @@ const createWindow = async () => {
{
label: 'Exit',
click: function () {
app.quit();
alas.kill(function () {
mainWindow?.close();
})
}
}
]);