Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install.sh #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update install.sh
Install a qpicospeaker.desktop shortcut
  • Loading branch information
Reyoking authored Mar 2, 2021
commit 91ff069ae8b5aae14f5ff8f0150295ee18e41e91
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
if [ $1 == "--uninstall" ]; then
sudo rm /usr/bin/qpicospeaker
rm -r ~/.config/qpicospeaker
sudo rm /usr/share/applications/qpicospeaker.desktop
sudo rm /usr/share/pixmaps/qpicospeaker.png
else
git submodule update --init --recursive
rm -r ./bin
@@ -9,4 +11,7 @@ else
qmake ../qpicospeaker.pro
make
sudo mv qpicospeaker /usr/bin/
cd ..
sudo cp data/desktop/qpicospeaker.desktop /usr/share/applications/qpicospeaker.desktop
sudo cp data/icons/128x128/qpicospeaker.png /usr/share/pixmaps/qpicospeaker.png
fi