mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-03 19:43:04 +08:00
[client-app] only re-install for optional deps on mac
This commit is contained in:
parent
4ad4596e2f
commit
44e51a0ed5
1 changed files with 4 additions and 2 deletions
|
@ -155,8 +155,10 @@ async function main() {
|
|||
// `client-app` so `node-mac-notifier` get's correctly installed and
|
||||
// included in the build See
|
||||
// https://github.com/lerna/lerna/issues/121
|
||||
console.log("\n---> Reinstalling client-app dependencies to include optional dependencies");
|
||||
await npm('install', {cwd: 'packages/client-app'})
|
||||
if (process.platform === "darwin") {
|
||||
console.log("\n---> Reinstalling client-app dependencies to include optional dependencies");
|
||||
await npm('install', {cwd: 'packages/client-app'})
|
||||
}
|
||||
await electronRebuild();
|
||||
linkJasmineConfigs();
|
||||
linkIsomorphicCoreSpecs();
|
||||
|
|
Loading…
Reference in a new issue