aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/alwaysTrust.ts
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-03-25 05:42:26 -0300
committerGitHub <noreply@github.com>2023-03-25 08:42:26 +0000
commit92b84a9e947ead3e90f297c8bbbbe3079a389e35 (patch)
treea8d5469cc6a24fdfc8113ae39616871b6eeff203 /src/plugins/alwaysTrust.ts
parentbbf3c74cb206e427877f65cbb52f318abeb0cda0 (diff)
downloadVencord-92b84a9e947ead3e90f297c8bbbbe3079a389e35.tar.gz
Vencord-92b84a9e947ead3e90f297c8bbbbe3079a389e35.tar.bz2
Vencord-92b84a9e947ead3e90f297c8bbbbe3079a389e35.zip
Fix broken patches (#701)
Diffstat (limited to 'src/plugins/alwaysTrust.ts')
-rw-r--r--src/plugins/alwaysTrust.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/alwaysTrust.ts b/src/plugins/alwaysTrust.ts
index 8dde07f..79193b0 100644
--- a/src/plugins/alwaysTrust.ts
+++ b/src/plugins/alwaysTrust.ts
@@ -32,10 +32,10 @@ export default definePlugin({
}
},
{
- find: "\"github.com\":new RegExp(\"\\\\/releases\\\\S*\\\\/download\"),",
+ find: '"7z","ade","adp"',
replacement: {
- match: /const o=JSON.parse\('\[.+?'\)/,
- replace: "const o=[]"
+ match: /JSON\.parse\('\[.+?'\)/,
+ replace: "[]"
}
}
]