1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-11 00:44:18 +00:00

Empty line normalization

This commit is contained in:
Tw93
2025-11-21 10:44:36 +08:00
parent 7ef786a9e2
commit b9760573bc
4 changed files with 13 additions and 10 deletions

View File

@@ -486,14 +486,13 @@ start_cleanup() {
clear
printf '\n'
echo -e "${PURPLE}Clean Your Mac${NC}"
echo ""
if [[ "$DRY_RUN" != "true" && -t 0 ]]; then
echo ""
echo -e "${YELLOW}${NC} First time? Run ${GRAY}mo clean --dry-run${NC} first to preview changes"
fi
if [[ "$DRY_RUN" == "true" ]]; then
echo ""
echo -e "${YELLOW}Dry Run Mode${NC} - Preview only, no deletions"
echo ""
SYSTEM_CLEAN=false
@@ -501,7 +500,6 @@ start_cleanup() {
fi
if [[ -t 0 ]]; then
echo ""
echo -ne "${PURPLE}${ICON_ARROW}${NC} System caches need sudo — ${GREEN}Enter${NC} continue, ${GRAY}Space${NC} skip: "
# Use read_key to properly handle all key inputs