mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 13:48:27 +02:00
Fix Remote Play's achievement notification
This commit is contained in:
2
dist/better-xcloud.pretty.user.js
vendored
2
dist/better-xcloud.pretty.user.js
vendored
@@ -5186,7 +5186,7 @@ remotePlayServerId: (window.BX_REMOTE_PLAY_CONFIG && window.BX_REMOTE_PLAY_CONFI
|
||||
remotePlayDisableAchievementToast(str) {
|
||||
let text = ".AchievementUnlock:{";
|
||||
if (!str.includes(text)) return !1;
|
||||
let newCode = "if (!!window.BX_REMOTE_PLAY_CONFIG) return;";
|
||||
let newCode = "if (window.location.pathname.includes('/consoles/launch/')) return;";
|
||||
return str.replace(text, text + newCode);
|
||||
},
|
||||
blockWebRtcStatsCollector(str) {
|
||||
|
Reference in New Issue
Block a user