Last active
September 22, 2017 14:58
-
-
Save sigdelsanjog/25bba07edfdd4173d06c66f007ed0415 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const electron = require('electron') | |
const countdown = require('./countdown') | |
const app = electron.app | |
const BrowserWindow = electron.BrowserWindow | |
let mainWindow | |
app.on('ready', _ => { | |
mainWindow = new BrowserWindow({ | |
height: 400, | |
width: 400 | |
}) | |
mainWindow.on('closed', _ =>{ | |
console.log('Closed the Window') | |
mainWindow = null | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment