UnlimitedAccounts: Update Patches

This commit is contained in:
thororen1234 2026-03-06 23:20:21 -05:00
parent fe91af7693
commit ace9f213af
No known key found for this signature in database

View file

@ -36,7 +36,7 @@ export default definePlugin({
settings, settings,
patches: [ patches: [
{ {
find: "pushSyncToken:null", find: "pushSyncToken:null}),",
replacement: [ replacement: [
{ {
match: /(\).length>)5/, match: /(\).length>)5/,
@ -56,11 +56,7 @@ export default definePlugin({
replace: "$1$self.getMaxAccounts()", replace: "$1$self.getMaxAccounts()",
}, },
{ {
match: /(\i.length<)5/, match: /(\i.length(<|>=))5/g,
replace: "$1$self.getMaxAccounts()",
},
{
match: /(\i.length>=)5/,
replace: "$1$self.getMaxAccounts()", replace: "$1$self.getMaxAccounts()",
}, },
] ]