inject: suppress ugly node error

This commit is contained in:
Vendicated 2024-02-06 17:59:44 +01:00
parent 685b6f2fa7
commit de570a4800
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -118,6 +118,7 @@ const installerBin = await ensureBinary();
console.log("Now running Installer...");
try {
execFileSync(installerBin, {
stdio: "inherit",
env: {
@ -126,3 +127,6 @@ execFileSync(installerBin, {
VENCORD_DEV_INSTALL: "1"
}
});
} catch {
console.error("Something went wrong. Please check the logs above.");
}