[READ-ONLY] Mirror of https://github.com/probablykasper/yt-email-notifier. macOS menubar app for YouTube upload notification emails
email menubar notifications tray youtube
0

Configure Feed

Select the types of activity you want to include in your feed.

Added button to check for new videos

Kasper (Aug 29, 2020, 3:19 AM +0200) 67e5ab4d 378f30a0

+11 -2
+9
src/menubar.js
··· 32 32 }, 33 33 }, 34 34 { 35 + title: 'Check Now', 36 + tooltip: null, 37 + checked: false, 38 + enabled: true, 39 + handler: async () => { 40 + await server.restartIntervals() 41 + }, 42 + }, 43 + { 35 44 title: 'Launch on Startup', 36 45 tooltip: null, 37 46 checked: autoLauncher ? await autoLauncher.isEnabled() : false,
+2 -2
src/server.js
··· 265 265 }) 266 266 } 267 267 268 - function restartIntervals() { 268 + module.exports.restartIntervals = function() { 269 269 for (let i = 0; i < intervals.length; i++) { 270 270 clearInterval(intervals[i]) 271 271 } ··· 279 279 intervals.push(interval) 280 280 } 281 281 } 282 - restartIntervals() 282 + module.exports.restartIntervals() 283 283 284 284 const wss = new WebSocket.Server({ noServer: true }) 285 285 let connection = null