Skip to content

Commit 2cf7f9a

Browse files
committed
DockHide only possible on macos
1 parent dc08e83 commit 2cf7f9a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,9 @@ app.whenReady().then(() => {
207207
s_mainWindow.hide();
208208
}
209209
});
210-
211-
app.dock.hide();
210+
if (process.platform === 'darwin') {
211+
app.dock.hide();
212+
}
212213
})
213214

214215
app.on('window-all-closed', function () {

0 commit comments

Comments
 (0)