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