fix np on macos

This commit is contained in:
cutls 2019-10-12 01:31:15 +09:00
parent e6767dc3f9
commit 9957bd9b8a

View File

@ -18,6 +18,7 @@ function np(mainWindow) {
const value = await nowplaying(); const value = await nowplaying();
const artwork = await nowplaying.getThumbnailBuffer(value.databaseID); const artwork = await nowplaying.getThumbnailBuffer(value.databaseID);
console.log(artwork)
e.sender.webContents.send('itunes-np', value); e.sender.webContents.send('itunes-np', value);
} catch (error) { } catch (error) {
// エラーを返す // エラーを返す