Use separate script for the KolourPaint installation, and now renaming the app in Ubuntu (#4)

This commit is contained in:
Mylloon 2022-02-03 18:16:34 +01:00
parent 90e4fb0bed
commit e6bfda2236
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 11 additions and 3 deletions

View file

@ -160,7 +160,7 @@ Mon guide à suivre lors d'une réinstallation d'Ubuntu
- Installe KolourPaint (Paint sur Linux) - Installe KolourPaint (Paint sur Linux)
```bash ```bash
sudo snap install kolourpaint wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installKolourPaint.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
``` ```
- Installe tldr (bref récap du `man`) - Installe tldr (bref récap du `man`)

View file

@ -98,8 +98,7 @@ then
bash installSignal.sh bash installSignal.sh
# Install KolourPaint # Install KolourPaint
sudo snap install kolourpaint bash installKolourPaint.sh
echo -e "\nKolourPaint installed! 🎉"
# Install OBS # Install OBS
bash installOBS.sh bash installOBS.sh

9
installKolourPaint.sh Normal file
View file

@ -0,0 +1,9 @@
# Install
sudo snap install kolourpaint
# Rename icon
if [ -f /var/lib/snapd/desktop/applications/kolourpaint_kolourpaint.desktop ] ; then
sudo sed -i "3s#.*#Name=Paint#" /var/lib/snapd/desktop/applications/kolourpaint_kolourpaint.desktop
fi
echo -e "\nKolourPaint installed! 🎉"