|
|
|
@ -161,7 +161,7 @@ async function parseFile(fileName: string) {
|
|
|
|
|
|
|
|
|
|
const target = getPluginTarget(fileName);
|
|
|
|
|
if (target) {
|
|
|
|
|
if (!["web", "discordDesktop", "vencordDesktop", "dev"].includes(target)) throw fail(`invalid target ${target}`);
|
|
|
|
|
if (!["web", "discordDesktop", "vencordDesktop", "desktop", "dev"].includes(target)) throw fail(`invalid target ${target}`);
|
|
|
|
|
data.target = target as any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|