Update some patches
This commit is contained in:
parent
cfeefee162
commit
5288054afc
3 changed files with 4 additions and 8 deletions
|
|
@ -26,13 +26,9 @@ export default definePlugin({
|
|||
replace: "true"
|
||||
},
|
||||
{
|
||||
match: /children:\[.{0,80}#{intl::BUILD_OVERRIDE}.{0,15}\{\}\)\]/,
|
||||
match: /children:\[.{0,60}(?:#{intl::BUILD_OVERRIDE}|#{intl::uyrfYF::raw}).{0,40}\{\}\)\]/g,
|
||||
replace: "children:$self.makeDevBanner()"
|
||||
},
|
||||
{
|
||||
match: /children:\[.{0,80}#{intl::uyrfYF::raw}.{0,50}\{\}\)\]/,
|
||||
replace: "children:$self.makeDevBanner()"
|
||||
},
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ export default definePlugin({
|
|||
{
|
||||
find: "#{intl::ADD_FRIEND})}),(",
|
||||
replacement: {
|
||||
match: /"header",.{0,30}children:\[.*?\{\}\)/,
|
||||
match: /#{intl::ADD_FRIEND}.{0,15}\(\i,\{\}\)/,
|
||||
replace: "$&,$self.FriendCodesPanel"
|
||||
},
|
||||
noWarn: true,
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ export default definePlugin({
|
|||
all: true,
|
||||
predicate: () => settings.store.noAppsAllowed,
|
||||
replacement: {
|
||||
match: /(#{intl::APP_TAG::hash}":\[").*?("\])/,
|
||||
match: /(#{intl::APP_TAG::hash}":\[").{0,30}("\])/,
|
||||
replace: "$1BOT$2",
|
||||
noWarn: true,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue