Fix Broken Patches

This commit is contained in:
thororen 2026-09-02 20:45:38 -04:00
parent 829b9b42c6
commit dbfe14d171
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -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);",
}
}

View file

@ -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()"
}
},
{