update vesktop build target name

This commit is contained in:
Vendicated 2025-04-04 22:59:21 +02:00
parent 8d0256bde8
commit 7246bface3
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
5 changed files with 8 additions and 8 deletions

View file

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