Fix installer
This commit is contained in:
parent
19ef2e6c03
commit
8407d10cae
2 changed files with 32 additions and 31 deletions
|
@ -11,7 +11,7 @@ elif [[ "${1}" == "-h" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo apt install python3-pip \
|
sudo apt install python3-pip \
|
||||||
python3-bs4 \
|
python3-bs4 \
|
||||||
gir1.2-gstreamer-1.0 \
|
gir1.2-gstreamer-1.0 \
|
||||||
gstreamer1.0-alsa \
|
gstreamer1.0-alsa \
|
||||||
|
@ -34,7 +34,6 @@ fi
|
||||||
libgstreamer-gl1.0-0 \
|
libgstreamer-gl1.0-0 \
|
||||||
libgstreamer-plugins-bad1.0-0 \
|
libgstreamer-plugins-bad1.0-0 \
|
||||||
libgstreamer-plugins-base1.0-0 \
|
libgstreamer-plugins-base1.0-0 \
|
||||||
libgstreamer-plugins-good1.0-0 \
|
|
||||||
libgstreamer1.0-0 \
|
libgstreamer1.0-0 \
|
||||||
python3-wxgtk-media4.0 \
|
python3-wxgtk-media4.0 \
|
||||||
python3-wxgtk4.0 \
|
python3-wxgtk4.0 \
|
||||||
|
@ -42,7 +41,9 @@ fi
|
||||||
youtube-dl
|
youtube-dl
|
||||||
sudo pip3 install pychromecast
|
sudo pip3 install pychromecast
|
||||||
sudo cp src/main.py /usr/local/bin/cast
|
sudo cp src/main.py /usr/local/bin/cast
|
||||||
sudo cp -a src/{Channel,ChannelProvider,Items} /usr/lib/python3.9/site-packages/
|
sudo chmod +x /usr/local/bin/cast
|
||||||
sudo cp -a src/{Channel,ChannelProvider,Items} /usr/lib/python3.9/
|
sudo cp -a src/{Channel,ChannelProvider,Items,Utils} /usr/lib/python3/dist-packages/
|
||||||
|
sudo cp -a src/{Channel,ChannelProvider,Items,Utils} /usr/lib/python3.9/
|
||||||
|
sudo cp -a src/{Channel,ChannelProvider,Items,Utils} /usr/lib/python3.10/
|
||||||
sudo cp src/cast.desktop /usr/share/applications/
|
sudo cp src/cast.desktop /usr/share/applications/
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue