Bob Mottram 7 年之前
父節點
當前提交
3555879d7c
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      src/freedombone-image-customise

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

585
         chroot "$rootdir" /root/npm_install.sh
585
         chroot "$rootdir" /root/npm_install.sh
586
     fi
586
     fi
587
 
587
 
588
-    chroot "$rootdir" npm install electron@1.7.6 -g
589
-
590
     git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork
588
     git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork
591
 
589
 
592
     cat <<EOF > $rootdir/usr/bin/install_patchwork
590
     cat <<EOF > $rootdir/usr/bin/install_patchwork
593
 #!/bin/bash
591
 #!/bin/bash
594
 cd /etc/patchwork
592
 cd /etc/patchwork
595
-npm install
593
+npm install -g
596
 EOF
594
 EOF
597
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
595
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
598
     chroot "$rootdir" /usr/bin/install_patchwork
596
     chroot "$rootdir" /usr/bin/install_patchwork