Skip to content

Commit

Permalink
Fix - Undefined dock on linux/windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Nov 1, 2018
1 parent 802a604 commit 009f11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ function createWindow() {
// show it once the app has been displayed
// @link https://github.com/electron/electron/issues/10078
// @fixme hack to make it show on full-screen windows
app.dock.hide();
app.dock && app.dock.hide();
mainWindow.show();
app.dock.show();
app.dock && app.dock.show();

// Set the window to be always on top
mainWindow.setAlwaysOnTop(true);
Expand Down

0 comments on commit 009f11f

Please sign in to comment.