New app name
Changed the app name
This commit is contained in:
+1
-1
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user