From d9891acde2392046fb558815b40c3ef70e47f7ef Mon Sep 17 00:00:00 2001
From: tingrun919 <344197917@qq.com>
Date: Mon, 4 Sep 2017 15:09:06 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9npm=20install=E6=97=B6?=
 =?UTF-8?q?=E7=9A=84=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/src/main/index.dev.js | 4 ++--
 app/src/main/index.js     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/src/main/index.dev.js b/app/src/main/index.dev.js
index 5947d90..332dd45 100644
--- a/app/src/main/index.dev.js
+++ b/app/src/main/index.dev.js
@@ -20,9 +20,9 @@ require('electron-debug')({ showDevTools: true })
 
 // Install `vue-devtools`
 require('electron').app.on('ready', () => {
-  let installExtension = require('electron-devtools-installer')
+  const installExtension = require('electron-devtools-installer')
   installExtension.default(installExtension.VUEJS_DEVTOOLS)
-    .then(() => {})
+    .then(() => ({}))
     .catch(err => {
       console.log('Unable to install `vue-devtools`: \n', err)
     })
diff --git a/app/src/main/index.js b/app/src/main/index.js
index 37ad903..035a478 100644
--- a/app/src/main/index.js
+++ b/app/src/main/index.js
@@ -7,7 +7,7 @@ const winURL = process.env.NODE_ENV === 'development'
   ? `http://localhost:${require('../../../config').port}`
   : `file://${__dirname}/index.html`
 
-function createWindow () {
+function createWindow() {
   /**
    * Initial window options
    */