mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
stylecheck
This commit is contained in:
@ -24,9 +24,9 @@ module.exports.setInteractive = (options, value) => {
|
||||
setOption(options);
|
||||
}
|
||||
|
||||
module.exports.notificationImage = function (songInfo, url = false) {
|
||||
//return local url
|
||||
if (!!songInfo && url) {
|
||||
module.exports.notificationImage = function (songInfo, saveIcon = false) {
|
||||
//return local path to temp icon
|
||||
if (saveIcon && !!songInfo.image) {
|
||||
try {
|
||||
fs.writeFileSync(tempIcon,
|
||||
songInfo.image
|
||||
|
||||
Reference in New Issue
Block a user