Skip to content

Instantly share code, notes, and snippets.

View oonqt's full-sized avatar
💭
Finally setting up github

Rechigo oonqt

💭
Finally setting up github
View GitHub Profile
const { BrowserWindow, Tray, Menu, app } = require('electron');
// possible macOS tray bug identified in the electron core
let mainWindow;
let tray;
const startApp = () => {
mainWindow = new BrowserWindow({});