Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I want a method in electron module to hide it in taskbar

I want someone to help me out in this problem. I want to know a method which hides my application from the taskbar. I want to make an app that works in the background.

I am new to the electron, therefore I hadn't known anything about it. So, I hadn't actually tried anything out.

like image 786
dhairya Avatar asked Nov 22 '25 14:11

dhairya


1 Answers

You can create your BrowserWindow with skipTaskbar option. See docs for further options.

let win = new BrowserWindow({
  skipTaskbar: true
})
like image 133
pergy Avatar answered Nov 24 '25 03:11

pergy