Fix broken patches

This commit is contained in:
Nuckyz 2024-03-27 10:29:58 -03:00
parent e1f8b3cb30
commit 0983a038f1
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
3 changed files with 5 additions and 5 deletions

View file

@ -195,7 +195,7 @@ export default definePlugin({
// Add back "Show My Camera" context menu
{
find: '.default("MediaEngineWebRTC");',
find: '"MediaEngineWebRTC");',
replacement: {
match: /supports\(\i\)\{switch\(\i\)\{case (\i).Features/,
replace: "$&.DISABLE_VIDEO:return true;case $1.Features"