From 04d6f341ee3122e36044739d533a69e4312dd116 Mon Sep 17 00:00:00 2001 From: Ven Date: Tue, 1 Nov 2022 01:49:41 +0100 Subject: PatchHelper, a tool to help you write patches (#182) --- src/plugins/settings.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/settings.ts') diff --git a/src/plugins/settings.ts b/src/plugins/settings.ts index df27ca1..f8ef7d8 100644 --- a/src/plugins/settings.ts +++ b/src/plugins/settings.ts @@ -55,11 +55,13 @@ export default definePlugin({ match: /\{section:(.{1,2})\.ID\.HEADER,\s*label:(.{1,2})\..{1,2}\.Messages\.ACTIVITY_SETTINGS\}/, replace: (m, mod) => { const updater = !IS_WEB ? '{section:"VencordUpdater",label:"Updater",element:Vencord.Components.Updater},' : ""; + const patchHelper = IS_DEV ? '{section:"VencordPatchHelper",label:"PatchHelper",element:Vencord.Components.PatchHelper},' : ""; return ( `{section:${mod}.ID.HEADER,label:"Vencord"},` + '{section:"VencordSetting",label:"Vencord",element:Vencord.Components.Settings},' + '{section:"VencordPlugins",label:"Plugins",element:Vencord.Components.PluginSettings},' + updater + + patchHelper + `{section:${mod}.ID.DIVIDER},${m}` ); } -- cgit