mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Fix quit functionality (#184)
This commit is contained in:
parent
3bbe696f4c
commit
c464be8cea
3 changed files with 14 additions and 1 deletions
|
|
@ -259,6 +259,11 @@ const createWindow = async () => {
|
|||
mainWindow?.close();
|
||||
});
|
||||
|
||||
ipcMain.on('window-quit', () => {
|
||||
mainWindow?.close();
|
||||
app.exit();
|
||||
});
|
||||
|
||||
ipcMain.on('app-restart', () => {
|
||||
// Fix for .AppImage
|
||||
if (process.env.APPIMAGE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue