Skip to content

Commit

Permalink
Fix windows bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Virej Dasani authored and Virej Dasani committed Aug 16, 2022
1 parent 36fe89a commit 45f0496
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ function createWindow() {
mainWindow.maximize();
mainWindow.show();

app.dock.hide();

mainWindow.setIgnoreMouseEvents(true);
mainWindow.setSkipTaskbar(true);
mainWindow.setResizable(false);
Expand All @@ -37,7 +35,7 @@ function createWindow() {
app.dock.hide();
} else {
// To hide the app in the dock for windows and linux
window.setSkipTaskbar(true);
mainWindow.setSkipTaskbar(true);
}

// and load the index.html of the app.
Expand Down

0 comments on commit 45f0496

Please sign in to comment.