Fix Remote Play's achievement notification

This commit is contained in:
redphx
2025-03-21 05:37:38 +07:00
parent 7332528f72
commit b8c62a1f4d
3 changed files with 3 additions and 3 deletions

View File

@@ -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) {