Skip to content

Instantly share code, notes, and snippets.

@Rambou
Last active July 15, 2016 00:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rambou/3a560d99bdf234a94e08693bc60b972f to your computer and use it in GitHub Desktop.
Save Rambou/3a560d99bdf234a94e08693bc60b972f to your computer and use it in GitHub Desktop.
PopcornTime Ubuntu install script
#!/usr/bin/env bash
sudo su
curl -SO# https://popcorntime.sh/download/build/Popcorn-Time-0.3.9-Linux-64.tar.xz
mkdir -p /opt/popcorntime
tar xf Popcorn-Time-0.3.9-Linux-64.tar.xz -C /opt/popcorntime
curl -SO# http://freemobileapk.com/wp-content/uploads/2014/09/com_nostracasa_android_popcorntimegame.png
mv com_nostracasa_android_popcorntimegame.png /opt/popcorntime/
curl -SO# https://gist.githubusercontent.com/Rambou/3a560d99bdf234a94e08693bc60b972f/raw/6880fd89d2b8fbee9bb6c9796fe4f70a7be158b5/popcorntime.desktop/popcorntime.desktop
mv popcorntime.desktop /usr/share/applications/
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=PopcornTime.sh
Comment=Watch instantly All the Video Content You Enjoy in One Place
Exec=/opt/popcorntime/Popcorn.sh %F
Terminal=false
Type=Application
Icon=/opt/popcorntime/com_nostracasa_android_popcorntimegame.png
Categories=Player;
StartupNotify=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment