From 690e119465dcacf1be2aba4201190526b46a94a2 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 12 Aug 2026 11:26:05 -0400 Subject: [PATCH] update utils script --- scripts/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/utils.ts b/scripts/utils.ts index 2727f5447..1c5e3af22 100644 --- a/scripts/utils.ts +++ b/scripts/utils.ts @@ -46,7 +46,7 @@ export interface PluginData { commands: Command[]; required: boolean; enabledByDefault: boolean; - target: "discordDesktop" | "vesktop" | "equibop" | "desktop" | "web" | "dev"; + target: "discordDesktop" | "vesktop" | "equibop" | "desktop" | "web" | "browser" | "dev"; filePath: string; dirName: string; isModified: boolean; @@ -235,7 +235,7 @@ export async function parseFile(fileName: string) { const target = getPluginTarget(fileName); if (target) { - if (!["web", "discordDesktop", "vesktop", "equibop", "desktop", "dev"].includes(target)) throw fail(`invalid target ${target}`); + if (!["web", "browser", "discordDesktop", "vesktop", "equibop", "desktop", "dev"].includes(target)) throw fail(`invalid target ${target}`); data.target = target as any; }