From bee662a55d202b41697329b535c930a8d58e7ecf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 13 Sep 2017 23:14:21 +0100 Subject: [PATCH] Different architecture specification method --- src/freedombone-image-customise | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 21980956..7bb3c4ed 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -567,8 +567,7 @@ install_patchwork() { cat < $rootdir/usr/bin/install_patchwork #!/bin/bash cd /etc/patchwork -echo 'npm_config_arch=ia32' > ~/.npmrc -npm install electron --save-dev --save-exact +npm install --arch=ia32 electron npm install EOF chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork