Skip to content

Commit 45f0496

Browse files
Virej DasaniVirej Dasani
Virej Dasani
authored and
Virej Dasani
committed
Fix windows bugs
1 parent 36fe89a commit 45f0496

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ function createWindow() {
2222
mainWindow.maximize();
2323
mainWindow.show();
2424

25-
app.dock.hide();
26-
2725
mainWindow.setIgnoreMouseEvents(true);
2826
mainWindow.setSkipTaskbar(true);
2927
mainWindow.setResizable(false);
@@ -37,7 +35,7 @@ function createWindow() {
3735
app.dock.hide();
3836
} else {
3937
// To hide the app in the dock for windows and linux
40-
window.setSkipTaskbar(true);
38+
mainWindow.setSkipTaskbar(true);
4139
}
4240

4341
// and load the index.html of the app.

0 commit comments

Comments
 (0)