mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Add a temporary fix for Tray hiding
This commit is contained in:
parent
4a1c39559a
commit
c38fb34d07
1 changed files with 8 additions and 2 deletions
10
main.js
10
main.js
|
@ -61,8 +61,14 @@ function createWindow() {
|
||||||
|
|
||||||
|
|
||||||
mainWindow.on("show", function () {
|
mainWindow.on("show", function () {
|
||||||
//gives some error todo
|
//temporary fix
|
||||||
appIcon.setHighlightMode("always");
|
try {
|
||||||
|
appIcon();
|
||||||
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
|
// expected output: TypeError: appIcon is not a function
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue