diff --git a/src/main/index.js b/src/main/index.js index e1f61ee77cf2a..04580b2954e4f 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -803,6 +803,15 @@ function runApp() { replaceMainWindow: trayWindows.some(item => item.id === mainWindow.id) }) }, + { + label: 'Show All Windows', + click: () => { + // Use while loop instead of for loop as trayClick modifies the trayWindows array + while (trayWindows.length > 0) { + trayClick(trayWindows[0]) + } + } + }, { label: 'Quit', click: handleQuit