aboutsummaryrefslogtreecommitdiff
path: root/index.js
blob: b6a60876cb1aeb9fe614061f89be93f797da2ebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const { app, BrowserWindow } = require('electron')

const path = require('path')
const createWindow = () => {
    const win = new BrowserWindow({
      width: 800,
      height: 600,
      autoHideMenuBar: true,
      icon: __dirname + '/icon.png',
      frame: false
    })
  
    win.loadFile('index.html')
   
  }
  app.whenReady().then(() => {
    createWindow()
  })