Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Electron-prebuilt -> electron

Chocobozzz35165e1669f0
diff --git a/.travis.yml b/.travis.yml
index cf299f0e5c..7b025f0b98 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
diff --git a/README.md b/README.md
index a83bfe7bea..975ec16954 100644
--- 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)
diff --git a/server/lib/webtorrent.js b/server/lib/webtorrent.js
index 2090b792b8..dde046828d 100644
--- a/server/lib/webtorrent.js
+++ b/server/lib/webtorrent.js
@@ -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 () {