Skip to content

Instantly share code, notes, and snippets.

@gilsondev
Forked from claudiosanches/install.sh
Last active August 9, 2016 15:36
Show Gist options
  • Save gilsondev/2b3562ad6df8ab819e43a55ac1978e4a to your computer and use it in GitHub Desktop.
Save gilsondev/2b3562ad6df8ab819e43a55ac1978e4a to your computer and use it in GitHub Desktop.
Install Strem.io
#!/usr/bin/env bash
FILE="Streamio.tar.gz"
if [ -f "$FILE" ]
then
echo "Arquivo $FILE encontrado."
else
echo "Arquivo não encontrado. Iniciando download..."
wget http://www.strem.io/download -O Streamio.tar.gz
fi
echo "Iniciando instalação..."
sudo mkdir -p /opt/stremio
sudo tar -zxvf $FILE -C /opt/stremio
curl -SO# http://www.strem.io/3.0/stremio-white-small.png
sudo mv stremio-white-small.png /opt/stremio/
curl -SO# https://gist.githubusercontent.com/claudiosmweb/797b502bc095dabee606/raw/52ad06b73d90a4ef389a384fbc815066c89798eb/stremio.desktop
sudo mv stremio.desktop /usr/share/applications/
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Strem.io
Comment=Watch instantly All the Video Content You Enjoy in One Place
Exec=/opt/stremio/Stremio.sh %F
Terminal=false
Type=Application
Icon=/opt/stremio/stremio-white-small.png
Categories=Player;
StartupNotify=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment