aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-04-30 10:34:38 -0300
committerGitHub <noreply@github.com>2023-04-30 13:34:38 +0000
commit08d88b326d22ab8ec84361bafeae5c45625a9a07 (patch)
tree615251d32532c47aa7657e9884d43f8bdae291ce /scripts
parenta73858d131ac8f05fa06f67fe5858f8f4959b13a (diff)
downloadVencord-08d88b326d22ab8ec84361bafeae5c45625a9a07.tar.gz
Vencord-08d88b326d22ab8ec84361bafeae5c45625a9a07.tar.bz2
Vencord-08d88b326d22ab8ec84361bafeae5c45625a9a07.zip
Fix Plugin Reporting false dependency errors and other stuff (#1017)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generateReport.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts
index 61e0e8f..935eae1 100644
--- a/scripts/generateReport.ts
+++ b/scripts/generateReport.ts
@@ -130,7 +130,7 @@ async function printReport() {
},
{
title: "Discord Errors",
- description: toCodeBlock(report.otherErrors.join("\n")),
+ description: report.otherErrors.length ? toCodeBlock(report.otherErrors.join("\n")) : "None",
color: report.otherErrors.length ? 0xff0000 : 0x00ff00
}
]
@@ -233,7 +233,7 @@ function runTime(token: string) {
// Needs native server to run
if (p.name === "WebRichPresence (arRPC)") return;
- p.required = true;
+ Vencord.Settings.plugins[p.name].enabled = true;
p.patches?.forEach(patch => {
patch.plugin = p.name;
delete patch.predicate;