mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-23 13:27:03 -04:00
Improvements for patches and misc stuff (#582)
This commit is contained in:
parent
7322c3af04
commit
40395d562a
15 changed files with 324 additions and 282 deletions
|
@ -32,8 +32,8 @@ export default definePlugin({
|
|||
{
|
||||
find: ".removeObscurity=function",
|
||||
replacement: {
|
||||
match: /\.removeObscurity=function\((\i)\){/,
|
||||
replace: ".removeObscurity=function($1){$self.reveal($1);"
|
||||
match: /(?<=\.removeObscurity=function\((\i)\){)/,
|
||||
replace: (_, event) => `$self.reveal(${event});`
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue