1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 17:24:45 +00:00

🎨 update help

This commit is contained in:
Tw93
2025-09-25 21:09:10 +08:00
parent 0a14f1fb8b
commit 23f304dd22

8
mole
View File

@@ -22,7 +22,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/lib/common.sh"
# Version info
VERSION="2.0.0"
VERSION="1.0.0"
show_help() {
cat << EOF
@@ -112,9 +112,7 @@ interactive_main_menu() {
;;
3)
show_help
echo ""
read -p "Press any key to continue..." -n 1 -r
echo # Add newline after key press
exit 0
;;
4)
echo ""
@@ -132,7 +130,7 @@ interactive_main_menu() {
case $key in
1) exec "$SCRIPT_DIR/bin/clean.sh" ;;
2) exec "$SCRIPT_DIR/bin/uninstall.sh" ;;
3) show_help; read -p "Press any key to continue..." -n 1 -r; echo ;;
3) show_help; exit 0 ;;
4) echo ""; echo "Thank you for using Mole!"; exit 0 ;;
esac
;;