inject: suppress ugly node error
This commit is contained in:
parent
685b6f2fa7
commit
de570a4800
1 changed files with 12 additions and 8 deletions
|
@ -118,6 +118,7 @@ const installerBin = await ensureBinary();
|
||||||
|
|
||||||
console.log("Now running Installer...");
|
console.log("Now running Installer...");
|
||||||
|
|
||||||
|
try {
|
||||||
execFileSync(installerBin, {
|
execFileSync(installerBin, {
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
env: {
|
env: {
|
||||||
|
@ -126,3 +127,6 @@ execFileSync(installerBin, {
|
||||||
VENCORD_DEV_INSTALL: "1"
|
VENCORD_DEV_INSTALL: "1"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} catch {
|
||||||
|
console.error("Something went wrong. Please check the logs above.");
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue