Skip to content
Permalink
Browse files

Add Electron experiment

  • Loading branch information...
ines committed May 15, 2019
1 parent 57d8b1a commit 52abcc84c73daebfc0fc7b837520c4ef75ea2c36
Showing with 998 additions and 45 deletions.
  1. +1 βˆ’0 .gitignore
  2. +10 βˆ’0 main.js
  3. +953 βˆ’43 package-lock.json
  4. +34 βˆ’2 package.json
@@ -1,4 +1,5 @@
.vscode
dist/

# Logs
logs
10 main.js
@@ -0,0 +1,10 @@
const { app, BrowserWindow } = require('electron')
const serve = require('electron-serve')

const loadURL = serve({ directory: 'public' })

;(async () => {
await app.whenReady()
mainWindow = new BrowserWindow()
await loadURL(mainWindow)
})()

0 comments on commit 52abcc8

Please sign in to comment.
You can’t perform that action at this time.