Skip to content

Commit

Permalink
Added support for Arch Linux.
Browse files Browse the repository at this point in the history
Fixed a little bug in removing files. Now all the files shoud be deleted, even the hidden ones.
  • Loading branch information
alexandru-balan committed May 16, 2019
1 parent cd44e56 commit 3b745fd
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
31 changes: 31 additions & 0 deletions installStremioArch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Installer for Stremio on Arch Linux
clear

# Downloading the dependencies
echo "Installing Stremio"
echo "__________________"
sleep 1s
sudo pacman -S git wget librsvg nodejs mpv openssl make gcc qt5-base qt5-webengine qt5-quickcontrols qt5-quickcontrols2

# Downloading Stremio
echo "Downloading Stremio"
echo "___________________"
cd ~/Documents && mkdir github && cd github
git clone --recurse-submodules https://github.com/Stremio/stremio-shell.git
cd stremio-shell

# Compiling and installing Stremio
echo "Compiling and installing stremio"
echo "________________________________"
qmake
make -f release.makefile
sudo make -f release.makefile install
sudo ./dist-utils/common/postinstall

# Cleanup all the files
rm -rf *
cd .. && rmdir stremio-shell
cd .. && rmdir github


echo DONE!!!
2 changes: 1 addition & 1 deletion installStremioClear.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sudo make -f release.makefile install
sudo ./dist-utils/common/postinstall

# Cleanup all the files
rm -rf ./*
rm -rf *
cd .. && rmdir stremio-shell
cd .. && rmdir github

Expand Down
2 changes: 1 addition & 1 deletion installStremioFedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sudo make -f release.makefile install
sudo ./dist-utils/common/postinstall

# Cleaning up
rm -rf ./*
rm -rf *
cd .. && rmdir stremio-shell
cd .. && rmdir github

Expand Down
2 changes: 1 addition & 1 deletion installStremioSolus.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sudo make -f release.makefile install
sudo ./dist-utils/common/postinstall

# Cleaning up
rm -rf ./*
rm -rf *
cd .. && rmdir stremio-shell
cd .. && rmdir github

Expand Down

0 comments on commit 3b745fd

Please sign in to comment.