浏览代码

Try to install electron

Bob Mottram 7 年前
父节点
当前提交
4bef56f305
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/freedombone-image-customise

+ 2
- 1
src/freedombone-image-customise 查看文件

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