Electron-prebuilt -> electron
authorChocobozzz <florian.bigard@gmail.com>
Sat, 1 Oct 2016 09:49:32 +0000 (11:49 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sat, 1 Oct 2016 09:49:32 +0000 (11:49 +0200)
.travis.yml
README.md
server/lib/webtorrent.js

index cf299f0e5cb450cae642b62c9e10c5dd13102aeb..7b025f0b98964c96760179cc147514d65f8b2b68 100644 (file)
@@ -22,7 +22,7 @@ services:
 before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
 
 before_script:
-  - npm install electron-prebuilt -g
+  - npm install electron -g
   - npm run build
   - wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-3.0.2-64bit-static.tar.xz"
   - tar xf ffmpeg-release-3.0.2-64bit-static.tar.xz
index a83bfe7bea4ba9d3a4b3b5d587337075e2e881e3..975ec169543e2b681139b54b70914a275c024b34 100644 (file)
--- a/README.md
+++ b/README.md
@@ -127,7 +127,7 @@ Thanks to [WebTorrent](https://github.com/feross/webtorrent), we can make P2P (t
         # apt-get update
         # apt-get install ffmpeg mongodb openssl xvfb curl sudo git build-essential libgtk2.0-0 libgconf-2-4 libnss3 libasound2 libxtst6 libxss1 libnotify-bin
         # npm install -g npm@3
-        # npm install -g electron-prebuilt
+        # npm install -g electron
 
 #### Other distribution... (PR welcome)
 
index 2090b792b81a8262ecca673165da819148730e48..dde046828de653564e0e428f293815c90a59e363 100644 (file)
@@ -43,7 +43,7 @@ function create (options, callback) {
 
     // Run a timeout of 30s after which we exit the process
     const timeoutWebtorrentProcess = setTimeout(function () {
-      throw new Error('Timeout : cannot run the webtorrent process. Please ensure you have electron-prebuilt npm package installed with xvfb-run.')
+      throw new Error('Timeout : cannot run the webtorrent process. Please ensure you have electron npm package installed with xvfb-run.')
     }, 30000)
 
     ipc.server.on(processKey + '.ready', function () {