diff --git a/apps/ML4W_Welcome-x86_64.AppImage b/apps/ML4W_Welcome-x86_64.AppImage index 9340c77..bbd5634 100755 Binary files a/apps/ML4W_Welcome-x86_64.AppImage and b/apps/ML4W_Welcome-x86_64.AppImage differ diff --git a/scripts/diagnosis.sh b/scripts/diagnosis.sh new file mode 100755 index 0000000..ee766c9 --- /dev/null +++ b/scripts/diagnosis.sh @@ -0,0 +1,37 @@ +#!/bin/bash +clear +sleep 0.5 +figlet "Diagnosis" +echo +echo "This script will check if some core packages are available on your system." +echo + +_commandExists() { + package="$1"; + if ! type $package > /dev/null; then + echo ":: ERROR: $package doesn't exists. Please install it." + else + echo ":: OK: $package found." + fi +} + +_folderExists() { + folder="$1"; + if [ ! -d $folder ]; then + echo ":: ERROR: $folder doesn't exists." + else + echo ":: OK: $folder found." + fi +} + +_commandExists "rofi" +_commandExists "dunst" +_commandExists "waybar" +_commandExists "swww" +_commandExists "wal" +_commandExists "gum" +_commandExists "wlogout" + +echo +echo "Press return to close the window" +read \ No newline at end of file