mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-11 10:23:54 +00:00
fix multiple tray icons
This commit is contained in:
@@ -212,6 +212,11 @@ app.once('will-quit', () => {
|
||||
globalShortcut.unregisterAll();
|
||||
});
|
||||
|
||||
// destroy tray icon before quit
|
||||
app.once('before-quit', () => {
|
||||
tray.destroy();
|
||||
});
|
||||
|
||||
// Get messages from react
|
||||
// Test message
|
||||
ipcMain.on('test-message', (event, arg) => {
|
||||
|
||||
Reference in New Issue
Block a user