mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 20:58:27 +02:00
8 lines
217 B
JavaScript
8 lines
217 B
JavaScript
const msg = JSON.parse(e);
|
|
if (msg.reason === 'WarningForBeingIdle' && !window.location.pathname.includes('/launch/')) {
|
|
try {
|
|
this.sendKeepAlive();
|
|
return;
|
|
} catch (ex) { console.log(ex); }
|
|
}
|