Skip to content

Instantly share code, notes, and snippets.

View GuillermoFarias's full-sized avatar
🏖️
Working from home

Guillermo Farías GuillermoFarias

🏖️
Working from home
View GitHub Profile
@bellbind
bellbind / main.js
Last active April 27, 2024 04:12
[electron] Tray launcher example
"use strict";
// [run the app]
// $ npm install electron
// $ ./node_modules/.bin/electron .
const {app, nativeImage, Tray, Menu, BrowserWindow} = require("electron");
let top = {}; // prevent gc to keep windows