mirror of
https://github.com/tw93/Mole.git
synced 2026-02-11 03:39:16 +00:00
🎨 Optimization instructions
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Mac Tools - Install Module
|
# Mole - Install Module
|
||||||
# Interactive application installer using Homebrew
|
# Interactive application installer using Homebrew
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Mac Tools - Uninstall Module
|
# Mole - Uninstall Module
|
||||||
# Interactive application uninstaller with keyboard navigation
|
# Interactive application uninstaller with keyboard navigation
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Mac Tools - Common Functions Library
|
# Mole - Common Functions Library
|
||||||
# Shared utilities and functions for all modules
|
# Shared utilities and functions for all modules
|
||||||
|
|
||||||
# Color definitions
|
# Color definitions
|
||||||
|
|||||||
18
mole
18
mole
@@ -1,17 +1,15 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Mac Tools - Main Entry Point
|
# Mole - Main Entry Point
|
||||||
# A comprehensive suite of macOS maintenance tools
|
# A comprehensive macOS maintenance tool
|
||||||
#
|
#
|
||||||
# 🧹 Clean - Remove junk files and optimize system
|
# 🧹 Clean - Remove junk files and optimize system
|
||||||
# 🗑️ Uninstall - Remove applications completely
|
# 🗑️ Uninstall - Remove applications completely
|
||||||
# 📦 Install - Install useful applications
|
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
# ./mac-tools # Interactive main menu
|
# ./mole # Interactive main menu
|
||||||
# ./mac-tools clean # Direct clean mode
|
# ./mole clean # Direct clean mode
|
||||||
# ./mac-tools uninstall # Direct uninstall mode
|
# ./mole uninstall # Direct uninstall mode
|
||||||
# ./mac-tools install # Direct install mode
|
# ./mole --help # Show help
|
||||||
# ./mac-tools --help # Show help
|
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
@@ -56,7 +54,7 @@ show_main_menu() {
|
|||||||
printf '\033[s'
|
printf '\033[s'
|
||||||
|
|
||||||
show_menu_option 1 "Clean System - Remove junk files and optimize" "$([[ $selected -eq 1 ]] && echo true || echo false)"
|
show_menu_option 1 "Clean System - Remove junk files and optimize" "$([[ $selected -eq 1 ]] && echo true || echo false)"
|
||||||
show_menu_option 2 "Uninstall Apps - Completely remove applications" "$([[ $selected -eq 2 ]] && echo true || echo false)"
|
show_menu_option 2 "Uninstall Apps - Remove applications completely" "$([[ $selected -eq 2 ]] && echo true || echo false)"
|
||||||
show_menu_option 3 "Help & Information - Usage guide and tips" "$([[ $selected -eq 3 ]] && echo true || echo false)"
|
show_menu_option 3 "Help & Information - Usage guide and tips" "$([[ $selected -eq 3 ]] && echo true || echo false)"
|
||||||
show_menu_option 4 "Exit - Close Mole" "$([[ $selected -eq 4 ]] && echo true || echo false)"
|
show_menu_option 4 "Exit - Close Mole" "$([[ $selected -eq 4 ]] && echo true || echo false)"
|
||||||
|
|
||||||
@@ -166,7 +164,7 @@ main() {
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown command: $1"
|
echo "Unknown command: $1"
|
||||||
echo "Use 'mac-tools --help' for usage information."
|
echo "Use 'mole --help' for usage information."
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user