diff options
-rw-r--r-- | scripts/build/common.mjs | 2 | ||||
-rw-r--r-- | scripts/generatePluginList.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/common.mjs b/scripts/build/common.mjs index a12e9ee..8efe2be 100644 --- a/scripts/build/common.mjs +++ b/scripts/build/common.mjs @@ -138,7 +138,7 @@ export const gitRemotePlugin = { build.onLoad({ filter, namespace: "git-remote" }, async () => { let remote = process.env.VENCORD_REMOTE; if (!remote) { - const res = await promisify(exec)("git remote get-url origin", { encoding: "utf-8" }); + const res = await promisify(exec)("git remote get-url origin", { encoding: "utf-8" }); remote = res.stdout.trim() .replace("https://github.com/", "") .replace("git@github.com:", "") diff --git a/scripts/generatePluginList.ts b/scripts/generatePluginList.ts index ea08d30..2c96e61 100644 --- a/scripts/generatePluginList.ts +++ b/scripts/generatePluginList.ts @@ -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; } |