From 1efa65652942754cf7e4333e4e5c2b68495ec1fe Mon Sep 17 00:00:00 2001 From: kaias1jp Date: Mon, 28 Jan 2019 21:37:59 +0900 Subject: [PATCH] modified: main.js modified: package.json --- app/main.js | 1 + app/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main.js b/app/main.js index d55b4998..e67f8141 100644 --- a/app/main.js +++ b/app/main.js @@ -12,6 +12,7 @@ const fm = require('font-manager'); const Menu=electron.Menu var updatewin=null; const join = require('path').join; +// linuxの時は定義しない if (process.platform!='linux') { const {NowPlaying,PlayerName} = require("nowplaying-node"); } diff --git a/app/package.json b/app/package.json index 2c3f1787..497d8f4c 100644 --- a/app/package.json +++ b/app/package.json @@ -34,7 +34,7 @@ ], "license": "GPL-3.0", "dependencies": { - "electron": "^4.0.2", + "electron": "^3.0.10", "electron-dl": "^1.11.0", "font-manager": "^0.3.0", "jimp": "^0.2.28",