cap match

This commit is contained in:
thororen1234 2026-05-27 21:09:10 -04:00
parent 972ae1184d
commit 462c661139
No known key found for this signature in database

View file

@ -66,12 +66,12 @@ export default definePlugin({
replace: "()=>$self.renderIcon({...arguments[0],DeviceIcon:$1})"
},
{
match: /("horizontal",gap:"xs",children:)\[.*?"text-subtle",children:\i\}\)\]\}\),/,
match: /("horizontal",gap:"xs",children:)\[.{0,250}"text-subtle",children:\i\}\)\]\}\),/,
replace: "$1$self.renderName(arguments[0])}),"
},
{
match: /("text-muted",children:)\i(?=\}\)\]\}\),.{0,120}\.client_info\?\.location)/,
replace: "$1$self.renderDescription({...arguments[0]})"
replace: "$1$self.renderDescription(arguments[0])"
},
{
match: /:\i\(\i\.approx_last_used_time\).{0,40}\(0,\i\.jsxs?\)\(\i,\{/,