This commit is contained in:
vapormusic 2022-02-20 15:09:09 +07:00
parent c1fe92368a
commit 3bf45a4e2e

View file

@ -3816,7 +3816,10 @@ const app = new Vue({
mediaKeyFixes() { mediaKeyFixes() {
navigator.mediaSession.setActionHandler('previoustrack', function () { app.prevButton() }); navigator.mediaSession.setActionHandler('previoustrack', function () { app.prevButton() });
navigator.mediaSession.setActionHandler('nexttrack', function () { app.skipToNextItem() }); navigator.mediaSession.setActionHandler('nexttrack', function () { app.skipToNextItem() });
} },
checkForUpdate() {
ipcRenderer.send('check-for-update')
},
} }
}) })