Archived
1
0

Convert to node-pty-prebuilt

This commit is contained in:
Kyle Carberry
2019-02-27 22:16:31 -06:00
parent 6038744ca3
commit 83b64365ba
7 changed files with 446 additions and 14 deletions

View File

@ -1,5 +1,6 @@
import { exec } from "child_process";
import { exec, execSync } from "child_process";
import { existsSync, readdirSync } from "fs";
import * as os from "os";
import { join, resolve } from "path";
import { logger, field } from "../packages/logger";
@ -39,5 +40,12 @@ const handlePackages = (dir: string): void => {
});
};
if (os.platform() === "win32") {
execSync("yarn", {
cwd: resolve(__dirname, "..", "packages", "vscode"),
maxBuffer: 1024 * 1024 * 10,
});
}
handlePackages(resolve(__dirname, "..", "packages"));
handlePackages(resolve(__dirname, "..", "packages", "app"));