diff --git a/apps/PiGro/description b/apps/PiGro/description old mode 100644 new mode 100755 index 6bdb9adc34..6ac788c03d --- a/apps/PiGro/description +++ b/apps/PiGro/description @@ -1,5 +1,13 @@ -PiGro is a program designed to make all Debian-based distributions easier to use on the Pi. -The most common terminal commands can be executed with one click. +A system configuration tool inspired by openSUSE's YaST but with the user-friendliness of Linux Mint. PiGro equips Raspberry Pi OS with graphical interfaces for tasks that would otherwise require the terminal. It is also optimized for Ubuntu, Ubuntu Mate, and MX Linux. + +Features: +- System Monitor +- Easy access to system areas with elevated privileges +- Powerful update tools +- Desktop Environment (DE) Theme Changer +- Autostart Tool +- Software Center for APT, Pi Apps & Flatpak +- Tuning & Overclocking section To run: Menu -> System Tools -> PiGro -To run in a terminal: cd ~/PiGro-Aid- ; ~/PiGro-Aid-/start.sh +To run in a terminal: pigro-jci \ No newline at end of file diff --git a/apps/PiGro/icon-24.png b/apps/PiGro/icon-24.png index eedd9fa947..dce8093262 100644 Binary files a/apps/PiGro/icon-24.png and b/apps/PiGro/icon-24.png differ diff --git a/apps/PiGro/icon-64.png b/apps/PiGro/icon-64.png index 2fe94c593f..b65673c38f 100644 Binary files a/apps/PiGro/icon-64.png and b/apps/PiGro/icon-64.png differ diff --git a/apps/PiGro/install b/apps/PiGro/install index a9e8a163bb..faea3c4da2 100755 --- a/apps/PiGro/install +++ b/apps/PiGro/install @@ -2,27 +2,20 @@ version=23.04 -# Get dependencies -install_packages xterm python3-pil python3-pil.imagetk python3-pip python3-psutil python3-distro python3-bs4 python3-dev python3-requests mpg123 lolcat || exit 1 +# Check if ~/PiGro-Aid- exists. | 23.04 or earlier. New Dir is /opt/ +if [ -d ~/PiGro-Aid- ]; then + # Purge packages and exit with code 1 if unsuccessful + purge_packages || exit 1 + + # Remove directory ~/PiGro-Aid- + rm -rf ~/PiGro-Aid- + + # Remove desktop file from Desktop and ~/.local/share/applications/ + rm -f ~/Desktop/pigro.desktop ~/.local/share/applications/pigro.desktop +else + echo "Directory ~/PiGro-Aid- not found. No action taken." +fi -rm -rf ~/PiGro-Aid- || error "Failed to first remove ~/PiGro-Aid- folder!" -git_clone https://github.com/actionschnitzel/PiGro-Aid- -b $version --depth=1 || error "Failed to clone repository!" -cd PiGro-Aid- || error "Failed to enter directory!" -chmod +x start.sh -mkdir -p $HOME/Desktop $HOME/.local/share/applications -echo "[Desktop Entry] -Version=2.1 -Exec=$HOME/PiGro-Aid-/start.sh -Name=PiGro -GenericName=PiGro -Encoding=UTF-8 -Terminal=false -Type=Application -Categories=System -Icon=$HOME/PiGro-Aid-/images/icons/logo.png -Path=$HOME/PiGro-Aid-/" > ~/Desktop/pigro.desktop - -chmod +x ~/Desktop/pigro.desktop -cp ~/Desktop/pigro.desktop ~/.local/share/applications/pigro.desktop +install_packages https://github.com/actionschnitzel/PiGro-Aid-/releases/download/${version}/pigro-jci-${version}.deb || exit 1 diff --git a/apps/PiGro/uninstall b/apps/PiGro/uninstall index 8004905b63..41e5c4451a 100755 --- a/apps/PiGro/uninstall +++ b/apps/PiGro/uninstall @@ -1,7 +1,18 @@ #!/bin/bash -purge_packages || exit 1 -rm -rf ~/PiGro-Aid- - -rm -f ~/Desktop/pigro.desktop ~/.local/share/applications/pigro.desktop - +# Check if ~/PiGro-Aid- exists (Github install method). New dir is /opt/ (.deb) +if [ -d ~/PiGro-Aid- ]; then + # Purge packages and exit with code 1 if unsuccessful + purge_packages || exit 1 + + # Remove directory ~/PiGro-Aid- + rm -rf ~/PiGro-Aid- + + # Remove desktop file from Desktop and ~/.local/share/applications/ + rm -f ~/Desktop/pigro.desktop ~/.local/share/applications/pigro.desktop +elif [ -d /opt/PiGro-Aid- ]; then + # Purge packages and exit with code 1 if unsuccessful + purge_packages || exit 1 +else + echo "Directory ~/PiGro-Aid- or /opt/PiGro-Aid- not found. No action taken." +fi diff --git a/apps/PiGro/website b/apps/PiGro/website old mode 100644 new mode 100755