Skip to content

Commit

Permalink
fix: install-app-deps
Browse files Browse the repository at this point in the history
Close #1626
  • Loading branch information
develar committed Jun 6, 2017
1 parent 0ea43a3 commit 21a5be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/electron-builder/src/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ function installDependencies(appDir: string, frameworkInfo: DesktopFrameworkInfo
const execArgs = ["install", "--production"]

const isYarn = isYarnPath(execPath)
// must be first https://github.com/electron-userland/electron-builder/issues/1626
execArgs.push("--devdir", getElectronGypCacheDir())
if (!isYarn) {
if (process.env.NPM_NO_BIN_LINKS === "true") {
execArgs.push("--no-bin-links")
}
execArgs.push("--cache-min", "999999999")
}

execArgs.push("--devdir", getElectronGypCacheDir())

if (execPath == null) {
execPath = getPackageToolPath()
}
Expand Down

0 comments on commit 21a5be5

Please sign in to comment.