mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-01 13:17:20 +02:00
Fix "injectErrorPageUseEffect" patch
This commit is contained in:
parent
256f28695e
commit
4c8a49a43a
@ -1123,7 +1123,10 @@ ${subsVar} = subs;
|
||||
return false;
|
||||
}
|
||||
|
||||
return PatcherUtils.injectUseEffect(str, index + 4, 'Script', 'ui.error.rendered', ',');
|
||||
str = PatcherUtils.insertAt(str, index + 4, '{');
|
||||
str = PatcherUtils.injectUseEffect(str, index + 5, 'Script', 'ui.error.rendered');
|
||||
str += '}';
|
||||
return str;
|
||||
},
|
||||
|
||||
injectStreamMenuUseEffect(str: string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user