fix patches for Experiments and Vencord Toolbox (#3647)
This commit is contained in:
parent
77b016de36
commit
1d00ba4161
2 changed files with 4 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ export default definePlugin({
|
|||
},
|
||||
// Change top right chat toolbar button from the help one to the dev one
|
||||
{
|
||||
find: '"M9 3v18"',
|
||||
find: '?"BACK_FORWARD_NAVIGATION":',
|
||||
replacement: {
|
||||
match: /hasBugReporterAccess:(\i)/,
|
||||
replace: "_hasBugReporterAccess:$1=true"
|
||||
|
|
|
|||
|
|
@ -129,9 +129,10 @@ export default definePlugin({
|
|||
|
||||
patches: [
|
||||
{
|
||||
find: '"M9 3v18"',
|
||||
find: '?"BACK_FORWARD_NAVIGATION":',
|
||||
replacement: {
|
||||
match: /focusSectionProps:"HELP".{0,20},className:(\i\.button)\}\),/,
|
||||
// TODO: (?:\.button) is for stable compat and should be removed soon:tm:
|
||||
match: /focusSectionProps:"HELP".{0,20},className:(\i(?:\.button)?)\}\),/,
|
||||
replace: "$& $self.renderVencordPopoutButton($1),"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue