mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 03:11:46 +00:00
Refactor tray to use provider + play/pause on click
This commit is contained in:
@ -1,8 +0,0 @@
|
||||
const clickInYoutubeMusic = (win, selector) => {
|
||||
win.webContents.executeJavaScript(
|
||||
`document.querySelector("${selector}").click();`,
|
||||
true
|
||||
);
|
||||
};
|
||||
|
||||
module.exports = { clickInYoutubeMusic };
|
||||
Reference in New Issue
Block a user