1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 13:16:47 +00:00

🐛 Normalize output tags

This commit is contained in:
Tw93
2025-10-05 22:16:25 +08:00
parent 79b1f53c7a
commit 3ff933f5d5
8 changed files with 154 additions and 125 deletions

View File

@@ -185,14 +185,14 @@ batch_uninstall_applications() {
if [[ "$needs_sudo" == "true" ]]; then
if sudo rm -rf "$app_path" 2>/dev/null; then
removal_success=true
echo -e " ${GREEN}${NC} Removed application"
echo -e " ${BLUE}${NC} Removed application"
else
error_msg="Failed to remove with sudo (check permissions or SIP protection)"
fi
else
if rm -rf "$app_path" 2>/dev/null; then
removal_success=true
echo -e " ${GREEN}${NC} Removed application"
echo -e " ${BLUE}${NC} Removed application"
else
error_msg="Failed to remove (check if app is running or protected)"
fi
@@ -211,7 +211,7 @@ batch_uninstall_applications() {
done <<< "$related_files"
if [[ $files_removed -gt 0 ]]; then
echo -e " ${GREEN}${NC} Cleaned $files_removed related files"
echo -e " ${BLUE}${NC} Cleaned $files_removed related files"
fi
((total_size_freed += total_kb))