added res folder with css and moved index.html there
This commit is contained in:
parent
3732fd9efd
commit
999fd199ed
2 changed files with 1 additions and 14 deletions
13
index.html
13
index.html
|
@ -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>
|
2
main.js
2
main.js
|
@ -9,7 +9,7 @@ function createWindow () {
|
|||
win = new BrowserWindow({ width: 800, height: 600 })
|
||||
|
||||
// and load the index.html of the app.
|
||||
win.loadFile('index.html')
|
||||
win.loadFile('res/index.html')
|
||||
|
||||
// Open the DevTools.
|
||||
win.webContents.openDevTools()
|
||||
|
|
Loading…
Reference in a new issue