diff --git a/main.js b/main.js index 730d69a..30facaf 100644 --- a/main.js +++ b/main.js @@ -61,8 +61,14 @@ function createWindow() { mainWindow.on("show", function () { - //gives some error todo - appIcon.setHighlightMode("always"); + //temporary fix + try { + appIcon(); + } catch (error) { + console.error(error); + // expected output: TypeError: appIcon is not a function + } + }); }