Skip to content

Commit

Permalink
feat: hide windows taskbar (#1561)
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Setch <adam.setch@outlook.com>
  • Loading branch information
setchy authored Sep 28, 2024
1 parent a258c9b commit 1ed9b41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const browserWindowOpts = {
minWidth: 500,
minHeight: 400,
resizable: false,
skipTaskbar: true, // Hide the app from the Windows taskbar
webPreferences: {
enableRemoteModule: true,
nodeIntegration: true,
Expand Down Expand Up @@ -106,7 +107,7 @@ const mb = menubar({
index: `file://${__dirname}/index.html`,
browserWindow: browserWindowOpts,
preloadWindow: true,
showDockIcon: false,
showDockIcon: false, // Hide the app from the macOS dock
});

let shouldUseAlternateIdleIcon = false;
Expand Down

0 comments on commit 1ed9b41

Please sign in to comment.