mirror of
https://github.com/desktop/desktop
synced 2024-09-19 16:12:20 +00:00
Copy the npmrc for the app bundling too.
To ensure we get the Electron binaries.
This commit is contained in:
parent
7e2703ff88
commit
2d58f51ecc
|
@ -69,6 +69,8 @@ packager(options, (error, appPaths) => {
|
|||
})
|
||||
|
||||
function installDependencies () {
|
||||
fs.copySync(path.join(projectRoot, '.npmrc'), path.join(buildRoot, '.npmrc'))
|
||||
|
||||
let packageJson = appPackage
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
packageJson = debugPackageJson(packageJson)
|
||||
|
|
Loading…
Reference in a new issue