Browse Source

Try to install electron

Bob Mottram 7 years ago
parent
commit
4bef56f305
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/freedombone-image-customise

+ 2
- 1
src/freedombone-image-customise View File

567
     cat <<EOF > $rootdir/usr/bin/install_patchwork
567
     cat <<EOF > $rootdir/usr/bin/install_patchwork
568
 #!/bin/bash
568
 #!/bin/bash
569
 cd /etc/patchwork
569
 cd /etc/patchwork
570
-npm install -g
570
+npm install electron --save-dev --save-exact
571
+npm install
571
 EOF
572
 EOF
572
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
573
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
573
     chroot "$rootdir" /usr/bin/install_patchwork
574
     chroot "$rootdir" /usr/bin/install_patchwork