better-xcloud
better-xcloud copied to clipboard
[Feature] Queue notification
I'm using:
- Device: PC
- OS: Windows 11
- Browser: Edge
I want to suggest this feature:
Some kind of notification when the queue is finished.
most of the time i minimize the window and forgot that i was in the queue so a little notification will help.
I've generated this code and put on line 4025 in your code, not a good implementation but works
if ('Notification' in window) { Notification.requestPermission().then(function (permission) { if (permission === 'granted') { var notification = new Notification('Game Ready', { body: 'Queue finished.' }); } }); } else { console.log('not supported!'); }
#150