From 136935d4f912a4a5cf4894a2178b8a4379fd0a9d Mon Sep 17 00:00:00 2001 From: cutls Date: Sat, 12 Oct 2019 01:11:29 +0900 Subject: [PATCH] fix macOS np --- app/main/np.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/np.js b/app/main/np.js index 12055816..ee7254ff 100644 --- a/app/main/np.js +++ b/app/main/np.js @@ -15,7 +15,7 @@ function np(mainWindow) { if (platform == "darwin") { try { const nowplaying = require("itunes-nowplaying-mac"); - const value = await nowplaying.getData(); + const value = await nowplaying(); e.sender.webContents.send('itunes-np', value); } catch (error) { // エラーを返す