From 4bef56f305f62c7f9c0cd0295bfbd72e45d2a5d9 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Wed, 13 Sep 2017 22:19:19 +0100
Subject: [PATCH] Try to install electron

---
 src/freedombone-image-customise | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise
index 70a95345e..1c53be709 100755
--- a/src/freedombone-image-customise
+++ b/src/freedombone-image-customise
@@ -567,7 +567,8 @@ install_patchwork() {
     cat <<EOF > $rootdir/usr/bin/install_patchwork
 #!/bin/bash
 cd /etc/patchwork
-npm install -g
+npm install electron --save-dev --save-exact
+npm install
 EOF
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
     chroot "$rootdir" /usr/bin/install_patchwork
-- 
GitLab