From 92b84a9e947ead3e90f297c8bbbbe3079a389e35 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Sat, 25 Mar 2023 05:42:26 -0300 Subject: Fix broken patches (#701) --- src/plugins/alwaysTrust.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/alwaysTrust.ts') 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: "[]" } } ] -- cgit