Last active
December 10, 2016 04:18
-
-
Save skypce/4ebb4ada8e8f4d4fd0c3c908016bee9e to your computer and use it in GitHub Desktop.
Popcorn 4 Community 64 bit installation script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo rm -fr /opt/pc4 | |
sudo rm -fr /usr/share/applications/pc4.desktop | |
# create installation dir | |
sudo mkdir -p /opt/pc4 | |
#install pc4 | |
wget -qO- https://github.com/PopcornTimeCommunity/desktop/releases/download/v0.4.0-2/popcorn-time-community-v0.4.0-2-64bit.tar.xz | sudo tar xJf - -C /opt/pc4 | |
# add app icon | |
# configure app for desktop use | |
sudo bash -c "cat <<EOF > /usr/share/applications/pc4.desktop | |
[Desktop Entry] | |
Name=Popcorn Time Comunity Edition | |
Comment= | |
Exec=/opt/pc4/Popcorn-Time | |
Icon=/opt/pc4/popcorntime.png | |
Terminal=false | |
Type=Application | |
Categories=Messaging,Internet | |
EOF" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment