From efcf5162d01b0ce9a0672db239a6046ab20bdab4 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 5 Sep 2017 14:16:34 -0700 Subject: [PATCH] Enable postinstall downloading of C++ binaries --- scripts/postinstall.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/postinstall.js b/scripts/postinstall.js index 29b03df39..c7a8c79b0 100644 --- a/scripts/postinstall.js +++ b/scripts/postinstall.js @@ -90,9 +90,9 @@ npm('install', {cwd: './app', env: 'electron'}).then(() => { // if the user hasn't cloned the private mailsync module, download // the binary for their operating system that was shipped to S3. - // if (!fs.existsSync('./mailsync/build.sh')) { - // console.log(`\n-- Downloading a compiled version of Mailspring mailsync --`) - // downloadMailsync(); - // } + if (!fs.existsSync('./mailsync/build.sh')) { + console.log(`\n-- Downloading a compiled version of Mailspring mailsync --`) + downloadMailsync(); + } }); });