Skip to content

coolstone-tech/menubar.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Menubar.js

Create a Menubar app with Electron

Installation

npm i menubar.js

Setup

const menubar = require('menubar.js');

menubar({ /* Config, passed to BrowserWindow */ }, './path/to/tray/icon', 'mode').then(menubar_app => {
// menubar_app.app - Electron app instance
// menubar_app.tray - Electron Tray instance
// menubar_app.window - Electron Window instance
// menubar_app.positioner - Electron Positioner instance
})

Set mode to "detach" to detach the window from the tray icon.

Other info

Get more in-depth help on Discord, or ask a question on GitHub

Report feedback & bugs here

Like our work? Support us on Patreon

About

Create a Menubar app with Electron

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published