From 5625d63e46c43132676148a86739025c15fa5f2d Mon Sep 17 00:00:00 2001 From: megumin Date: Mon, 17 Oct 2022 20:18:25 +0100 Subject: Settings 2.0 (#107) Co-authored-by: Vendicated --- src/plugins/experiments.ts | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/plugins/experiments.ts (limited to 'src/plugins/experiments.ts') diff --git a/src/plugins/experiments.ts b/src/plugins/experiments.ts deleted file mode 100644 index b441a76..0000000 --- a/src/plugins/experiments.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Devs } from "../utils/constants"; -import definePlugin from "../utils/types"; - -export default definePlugin({ - name: "Experiments", - authors: [Devs.Ven, Devs.Megu], - description: "Enable Experiments", - patches: [{ - find: "Object.defineProperties(this,{isDeveloper", - replacement: { - match: /(?<={isDeveloper:\{[^}]+,get:function\(\)\{return )\w/, - replace: "true" - } - }, { - find: 'type:"user",revision', - replacement: { - match: /(\w)\|\|"CONNECTION_OPEN".+?;/g, - replace: "$1=!0;" - } - }] -}); -- cgit