From ace9f213af3a05cd89d8af5ecb24579b477c40d0 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 6 Mar 2026 23:20:21 -0500 Subject: [PATCH] UnlimitedAccounts: Update Patches --- src/equicordplugins/unlimitedAccounts/index.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/equicordplugins/unlimitedAccounts/index.ts b/src/equicordplugins/unlimitedAccounts/index.ts index 984d9d1d1..cbf77811d 100644 --- a/src/equicordplugins/unlimitedAccounts/index.ts +++ b/src/equicordplugins/unlimitedAccounts/index.ts @@ -36,7 +36,7 @@ export default definePlugin({ settings, patches: [ { - find: "pushSyncToken:null", + find: "pushSyncToken:null}),", replacement: [ { match: /(\).length>)5/, @@ -56,11 +56,7 @@ export default definePlugin({ replace: "$1$self.getMaxAccounts()", }, { - match: /(\i.length<)5/, - replace: "$1$self.getMaxAccounts()", - }, - { - match: /(\i.length>=)5/, + match: /(\i.length(<|>=))5/g, replace: "$1$self.getMaxAccounts()", }, ]