mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-08 14:18:26 +02:00
Update "skipFeedbackDialog" patch
This commit is contained in:
@@ -632,12 +632,12 @@ true` + text;
|
||||
},
|
||||
|
||||
skipFeedbackDialog(str: string) {
|
||||
let text = '&&this.shouldTransitionToFeedback(';
|
||||
let text = 'shouldTransitionToFeedback(e){';
|
||||
if (!str.includes(text)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
str = str.replace(text, '&& false ' + text);
|
||||
str = str.replace(text, text + 'return !1;');
|
||||
return str;
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user