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

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

  //npm exec electron-packager .