mirror of
https://github.com/RobinRMC/VencordPlus.git
synced 2025-05-11 18:05:39 +02:00
pnpm patch: pass through cli args
This commit is contained in:
parent
1126dc6e66
commit
188fd48659
2 changed files with 6 additions and 3 deletions
|
@ -118,8 +118,11 @@ const installerBin = await ensureBinary();
|
|||
|
||||
console.log("Now running Installer...");
|
||||
|
||||
const argStart = process.argv.indexOf("--");
|
||||
const args = argStart === -1 ? [] : process.argv.slice(argStart + 1);
|
||||
|
||||
try {
|
||||
execFileSync(installerBin, {
|
||||
execFileSync(installerBin, args, {
|
||||
stdio: "inherit",
|
||||
env: {
|
||||
...process.env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue