From d1dcba771185809fad233bbd3a3748cbdaaa86a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Sun, 8 Sep 2019 23:54:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7electron=E5=88=B06.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 8 ++++++-- src/js/app.js | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cddfd9f..fcc0a80 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "iofs": "^1.1.0" }, "devDependencies": { - "electron": "^4.0.2", + "electron": "^6.0.0", "electron-builder": "^20.38.5" }, "build": { @@ -29,7 +29,11 @@ "buildResources": "icons", "output": "build" }, - "files": ["src/**/*", "node_modules/iofs/*", "node_modules/crypto.js/*"], + "files": [ + "src/**/*", + "node_modules/iofs/*", + "node_modules/crypto.js/*" + ], "mac": { "category": "public.app-category.music", "target": "dmg", diff --git a/src/js/app.js b/src/js/app.js index 7df4261..3b30985 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -5,7 +5,7 @@ */ import '/lib/anot.js' -import '/lib/layer/next.js' +import '/lib/layer/index.js' import '/lib/store/index.js' import AudioPlayer from '/lib/audio/index.js' import Lyrics from '/lib/lyrics/index.js'