Fix OpenInApp patch

This commit is contained in:
Nuckyz 2023-09-02 03:03:50 -03:00
parent 29fbe3701a
commit c165725297
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -55,8 +55,8 @@ export default definePlugin({
{
find: '"MaskedLinkStore"',
replacement: {
match: /return ((\i)\.apply\(this,arguments\))(?=\}function \i.{0,200}\.trusted)/,
replace: "return $self.handleLink(...arguments).then(handled => handled || $1)"
match: /return ((\i)\.apply\(this,arguments\))(?=\}function \i.{0,250}\.trusted)/,
replace: "return $self.handleLink(...arguments).then(handled => handled||$1)"
}
},
// Make Spotify profile activity links open in app on web