Skip to content

Instantly share code, notes, and snippets.

View FelipeGazapina's full-sized avatar
🎯
Focusing

Felipe Rico Gazapina FelipeGazapina

🎯
Focusing
View GitHub Profile
@FelipeGazapina
FelipeGazapina / electron.js
Created February 28, 2024 02:34
Testing desktop development
// Modules to control application life and create native browser window
const { app, BrowserWindow, Notification } = require('electron')
const path = require('node:path')
const isDev = require('electron-is-dev');
function createWindow () {
// Create the browser window.
const mainWindow = new BrowserWindow({
width: 800,
height: 600,