diff options
Diffstat (limited to 'src/plugins/alwaysTrust.ts')
-rw-r--r-- | src/plugins/alwaysTrust.ts | 6 |
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: "[]" } } ] |