VencordDesktop: Include web plugins & use proper showItemInFolder

This commit is contained in:
Vendicated 2023-04-05 04:09:42 +02:00
parent d8a5e43034
commit 676bc612d9
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905
9 changed files with 21 additions and 13 deletions

View file

@ -35,7 +35,7 @@ export default definePlugin({
find: ".Menu,{",
all: true,
replacement: {
match: /(?<=\.jsxs?\)\(\i\.Menu,)\{/,
match: /(?<=\.jsxs?\)\(\i\.Menu,)\{/g,
replace: "{contextMenuApiArguments:typeof arguments!=='undefined'?arguments:[],"
}
}