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

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

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