Skip to content

Commit

Permalink
Adding popcorn time
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbrg authored Aug 31, 2021
1 parent 527324f commit cd2bf78
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ VERSION_WERF="1.1.21+fix22";
VERSION_DOCKERCOMPOSE="1.29.2";
VERSION_STACER="1.1.0";
VERSION_TOR="10.5.5";
VERSION_POPCORN="0.4.5";

###############################################################

Expand Down Expand Up @@ -499,6 +500,20 @@ installTor() {
cd ${CURR_DIR};
}

installPopcornTime() {
title "Installing Popcorn Time v${VERSION_POPCORN}";
local DL_FILE="popcorn.deb";

sudo apt install \
libcanberra-gtk-module \
libgconf-2-4 \
libatomic1;

curlToFile "https://github.com/popcorn-official/popcorn-desktop/releases/download/v${VERSION_POPCORN}/Popcorn-Time-${VERSION_POPCORN}-amd64.deb" ${DL_FILE};
sudo apt install -y -f ./${DL_FILE};
rm -f ${DL_FILE};
}

installToolboxApp() {
title "Installing JetBrains Toolbox App";
local DL_FILE="toolbox.gz";
Expand Down Expand Up @@ -599,7 +614,8 @@ options=(
bleachbit "BleachBit || System maintenance and cleanup utility" on
remmina "Remmina Remote Desktop || Full-featured remote desktop client" off
stacer "Stacer || Performance tweaker utility" off
tor "Tor Browser v${VERSION_TOR} || Browser for the Tor network" off
tor "Tor Browser v${VERSION_TOR} || All in one browser for the Tor network" off
popcorn "Popcorn Time v${VERSION_POPCORN} || Stream free movies & TV series" off

jbtoolbox "JetBrains Toolbox || Installs and manages all JetBrains software" on
atom "Atom || A hackable text editor" on
Expand Down Expand Up @@ -757,6 +773,7 @@ do
remmina) installRemmina ;;
stacer) installStacer ;;
tor) installTor ;;
popcorn) installPopcornTime ;;

jbtoolbox) installToolboxApp ;;
atom) installAtom ;;
Expand All @@ -770,7 +787,6 @@ title "Cleaning Up";
sudo apt --fix-broken install -y;
sudo apt autoremove -y --purge;
breakLine;
breakLine;

for choice in ${choices[@]}
do
Expand Down

0 comments on commit cd2bf78

Please sign in to comment.