We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802a604 commit 009f11fCopy full SHA for 009f11f
1 file changed
public/electron.js
@@ -29,9 +29,9 @@ function createWindow() {
29
// show it once the app has been displayed
30
// @link https://github.com/electron/electron/issues/10078
31
// @fixme hack to make it show on full-screen windows
32
- app.dock.hide();
+ app.dock && app.dock.hide();
33
mainWindow.show();
34
- app.dock.show();
+ app.dock && app.dock.show();
35
36
// Set the window to be always on top
37
mainWindow.setAlwaysOnTop(true);
0 commit comments