Change itunes-nowplaying-mac pull request number

This commit is contained in:
kPherox 2019-04-14 00:13:57 +09:00
parent ade5893183
commit 5a03df6ee9
No known key found for this signature in database
GPG Key ID: C04751C2BFA2F62D
2 changed files with 3 additions and 3 deletions

View File

@ -142,8 +142,8 @@ function nowplaying(mode){
media(arg.path,"image/png","new"); media(arg.path,"image/png","new");
} }
}else if(platform=="darwin"){ }else if(platform=="darwin"){
if(flag && arg.artworks[0]){ if(flag && arg.existsArtwork){
ipc.send('bmp-image', [arg.artworks[0].path,0]); media(arg.artworks[0].data,"image/png","new");
} }
} }
var regExp = new RegExp("{song}", "g"); var regExp = new RegExp("{song}", "g");

View File

@ -48,7 +48,7 @@
}, },
"optionalDependencies": { "optionalDependencies": {
"nowplaying-node": "^0.1.3", "nowplaying-node": "^0.1.3",
"itunes-nowplaying-mac": "git+https://github.com/rinsuki/itunes-nowplaying-mac#pull/1/head", "itunes-nowplaying-mac": "git+https://github.com/rinsuki/itunes-nowplaying-mac#pull/4/head",
"font-manager": "^0.3.0" "font-manager": "^0.3.0"
}, },
"build": { "build": {