mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
Set title/artist metadata in downloader
This commit is contained in:
@ -24,6 +24,10 @@ module.exports.triggerAction = (channel, action, ...args) => {
|
||||
return ipcRenderer.send(channel, action, ...args);
|
||||
};
|
||||
|
||||
module.exports.triggerActionSync = (channel, action, ...args) => {
|
||||
return ipcRenderer.sendSync(channel, action, ...args);
|
||||
};
|
||||
|
||||
module.exports.listenAction = (channel, callback) => {
|
||||
return ipcMain.on(channel, callback);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user