Add notifications plugin (notify of song on play event)

This commit is contained in:
TC
2020-11-11 11:35:58 +01:00
parent 1dcf76b006
commit bcff6e5134
4 changed files with 139 additions and 2 deletions

View File

@ -20,8 +20,8 @@ module.exports.templatePath = (pluginPath, name) => {
return path.join(pluginPath, "templates", name);
};
module.exports.triggerAction = (channel, action) => {
return ipcRenderer.send(channel, action);
module.exports.triggerAction = (channel, action, ...args) => {
return ipcRenderer.send(channel, action, ...args);
};
module.exports.listenAction = (channel, callback) => {