Fix Broken Patches
This commit is contained in:
parent
829b9b42c6
commit
dbfe14d171
2 changed files with 3 additions and 3 deletions
|
|
@ -79,7 +79,7 @@ export default definePlugin({
|
|||
{
|
||||
find: '"LocalActivityStore"',
|
||||
replacement: {
|
||||
match: /\i\(\i\)\{.{0,25}activity:(\i).*?\}=\i;/,
|
||||
match: /function\(\i\)\{.{0,40}activity:(\i).*?\i\[\i\];/,
|
||||
replace: "$&$self.patchActivity($1);",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -141,8 +141,8 @@ export default definePlugin({
|
|||
{
|
||||
find: "#{intl::STATUS_MENU_LABEL}",
|
||||
replacement: {
|
||||
match: /(,\{onClose:\i,popoutContainerRef:\i\}\))\]/,
|
||||
replace: "$1,$self.render()]"
|
||||
match: /(popoutContainerRef:\i\}\))(?=\])/,
|
||||
replace: "$1,$self.render()"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue