added res folder with css and moved index.html there

This commit is contained in:
Lynne Megido 2019-01-08 08:15:45 +10:00
parent 3732fd9efd
commit 999fd199ed
Signed by: lynnesbian
GPG key ID: FB7B970303ACE499
2 changed files with 1 additions and 14 deletions

View file

@ -1,13 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
We are using node <script>document.write(process.versions.node)</script>,
Chrome <script>document.write(process.versions.chrome)</script>,
and Electron <script>document.write(process.versions.electron)</script>.
</body>
</html>

View file

@ -9,7 +9,7 @@ function createWindow () {
win = new BrowserWindow({ width: 800, height: 600 }) win = new BrowserWindow({ width: 800, height: 600 })
// and load the index.html of the app. // and load the index.html of the app.
win.loadFile('index.html') win.loadFile('res/index.html')
// Open the DevTools. // Open the DevTools.
win.webContents.openDevTools() win.webContents.openDevTools()