Try to install electron

This commit is contained in:
Bob Mottram 2017-09-13 22:19:19 +01:00
parent 370561d40f
commit 4bef56f305
1 changed files with 2 additions and 1 deletions

View File

@ -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