Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
araujoarthur0 committed Feb 6, 2025
1 parent 5efc5ae commit 6c3a19e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/main-window.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ function createWindow()
global.tray.popUpContextMenu(global.contextMenu);
});

mainWindow.webContents.on('console-message', function(event, level, message)
{
console.log('console-message');
console.log(message);
});
mainWindow.on('minimize', (event) =>
{
const savedPreferences = getUserPreferences();
Expand Down

0 comments on commit 6c3a19e

Please sign in to comment.