This commit is contained in:
thororen1234 2025-04-04 21:29:37 -04:00
parent aca48cb9e5
commit 5f8c0c0f0e
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@ interface PluginData {
commands: Command[];
required: boolean;
enabledByDefault: boolean;
target: "discordDesktop" | "vencordDesktop" | "equicordDesktop" | "desktop" | "web" | "dev";
target: "discordDesktop" | "vencordDesktop" | "equibop" | "desktop" | "web" | "dev";
filePath: string;
}
@ -215,7 +215,7 @@ async function parseFile(fileName: string) {
const target = getPluginTarget(fileName);
if (target) {
if (!["web", "discordDesktop", "vencordDesktop", "equicordDesktop", "desktop", "dev"].includes(target)) throw fail(`invalid target ${target}`);
if (!["web", "discordDesktop", "vencordDesktop", "equibop", "desktop", "dev"].includes(target)) throw fail(`invalid target ${target}`);
data.target = target as any;
}