0.0.1 • Published 9 months ago

menubar.js v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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