New app name

Changed the app name
This commit is contained in:
Thomas
2018-09-07 09:33:35 +02:00
parent 663e856e1f
commit f36a2f0fad
3 changed files with 107 additions and 53 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title>my-project</title>
<title>Météo App</title>
<% if (htmlWebpackPlugin.options.nodeModules) { %>
<!-- Add `node_modules/` to global paths so `require` works properly in development -->
<script>
+3 -1
View File
@@ -11,6 +11,7 @@ if (process.env.NODE_ENV !== 'development') {
}
let mainWindow
var path = require('path')
const winURL = process.env.NODE_ENV === 'development'
? `http://localhost:9080`
: `file://${__dirname}/index.html`
@@ -22,7 +23,8 @@ function createWindow () {
mainWindow = new BrowserWindow({
height: 563,
useContentSize: true,
width: 1000
width: 1000,
icon: path.join(__dirname, '/build/icons/256x256.png')
})
mainWindow.loadURL(winURL)