You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If any of the maintainers are listening in: I managed to let Popcorn Time run on a Raspberry Pi 4. These are the steps. Perhaps it's an idea to integrate this in the master?
# First flash Raspbian Buster on SD card. I used "Raspberry Pi OS with desktop" from# https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit# After installation, that most probably involves reboots, launch terminal window and execute # the following bash commands# Update everything
sudo apt update
sudo apt upgrade
# Install NodeJS 14. Raspbian version cannot go higher than NodeJS 10; use following line instead
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
# Install Gulp and Yarn
sudo npm install yarn -g
sudo npm install gulp -g
# Fetch the repo
git clone -b v0.4.5 https://github.com/popcorn-official/popcorn-desktop.git
cd popcorn-desktop
# And run installer
yarn install
# Build project
gulp build
# This release doesn't have arm support for nw.js. So we also need to download those libraries. # Fortunately those can be found here: https://github.com/LeonardLaszlo/nw.js-armv7-binaries # Use v0.46.5, as that one closest matches the version in the 0.4.5 release
wget -c https://github.com/LeonardLaszlo/nw.js-armv7-binaries/releases/download/v0.46.5/v0.46.5.tar.gz
# Extract `chrome sdk` dist
tar -xzvf v0.46.5.tar.gz dist/nwjs-sdk-chrome-ffmpeg-branding/nwjs-sdk-v0.46.5-linux-arm.tar.gz --to-command='tar -xzvf -'# Now replace the linux32 folder containing non arm code with the one we just extracted
rm -rf cache/0.44.5-sdk/linux32
mv nwjs-sdk-v0.46.5-linux-arm/ cache/0.44.5-sdk/linux32
# And remove the download
rm v0.46.5.tar.gz
# All set; run it
sudo gulp run
There are, obviously, a bunch of caveats: the client seems to be very slow. Connecting to peers is slow as well. And for some reason in full screen the UI sometimes doesn't seem to be fading out. But I'm sure that the programmers would be able to iron out these problems.
Enjoy
The text was updated successfully, but these errors were encountered:
Sure thing. I'll do that. Meanwhile the real solution I think would be if gulpfile.js is updated to include this nw.js arm version if the platform is a Raspberry Pi. Would something like that be doable?
Hi all,
If any of the maintainers are listening in: I managed to let Popcorn Time run on a Raspberry Pi 4. These are the steps. Perhaps it's an idea to integrate this in the master?
There are, obviously, a bunch of caveats: the client seems to be very slow. Connecting to peers is slow as well. And for some reason in full screen the UI sometimes doesn't seem to be fading out. But I'm sure that the programmers would be able to iron out these problems.
Enjoy
The text was updated successfully, but these errors were encountered: