mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 15:04:42 +00:00
Use gray color for warning icons to reduce visual noise
This commit is contained in:
@@ -864,7 +864,7 @@ perform_cleanup() {
|
||||
fda_status=$?
|
||||
if [[ $fda_status -eq 1 ]]; then
|
||||
echo ""
|
||||
echo -e "${YELLOW}${ICON_WARNING}${NC} ${GRAY}Tip: Grant Full Disk Access to your terminal in System Settings for best results${NC}"
|
||||
echo -e "${GRAY}${ICON_WARNING}${NC} ${GRAY}Tip: Grant Full Disk Access to your terminal in System Settings for best results${NC}"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -889,7 +889,7 @@ perform_cleanup() {
|
||||
if [[ ${#WHITELIST_WARNINGS[@]} -gt 0 ]]; then
|
||||
echo ""
|
||||
for warning in "${WHITELIST_WARNINGS[@]}"; do
|
||||
echo -e " ${YELLOW}${ICON_WARNING}${NC} Whitelist: $warning"
|
||||
echo -e " ${GRAY}${ICON_WARNING}${NC} Whitelist: $warning"
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
@@ -204,7 +204,7 @@ cleanup_path() {
|
||||
return
|
||||
fi
|
||||
if should_protect_path "$expanded_path"; then
|
||||
echo -e "${YELLOW}${ICON_WARNING}${NC} Protected $label"
|
||||
echo -e "${GRAY}${ICON_WARNING}${NC} Protected $label"
|
||||
return
|
||||
fi
|
||||
|
||||
@@ -231,7 +231,7 @@ cleanup_path() {
|
||||
echo -e "${GREEN}${ICON_SUCCESS}${NC} $label"
|
||||
fi
|
||||
else
|
||||
echo -e "${YELLOW}${ICON_WARNING}${NC} Skipped $label ${GRAY}(grant Full Disk Access to your terminal and retry)${NC}"
|
||||
echo -e "${GRAY}${ICON_WARNING}${NC} Skipped $label ${GRAY}(grant Full Disk Access to your terminal and retry)${NC}"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -304,7 +304,7 @@ apply_firewall_fix() {
|
||||
FIREWALL_DISABLED=false
|
||||
return 0
|
||||
fi
|
||||
echo -e " ${YELLOW}${ICON_WARNING}${NC} Failed to enable firewall (check permissions)"
|
||||
echo -e " ${GRAY}${ICON_WARNING}${NC} Failed to enable firewall (check permissions)"
|
||||
return 1
|
||||
}
|
||||
|
||||
@@ -314,7 +314,7 @@ apply_gatekeeper_fix() {
|
||||
GATEKEEPER_DISABLED=false
|
||||
return 0
|
||||
fi
|
||||
echo -e " ${YELLOW}${ICON_WARNING}${NC} Failed to enable Gatekeeper"
|
||||
echo -e " ${GRAY}${ICON_WARNING}${NC} Failed to enable Gatekeeper"
|
||||
return 1
|
||||
}
|
||||
|
||||
@@ -327,7 +327,7 @@ apply_touchid_fix() {
|
||||
|
||||
perform_security_fixes() {
|
||||
if ! ensure_sudo_session "Security changes require admin access"; then
|
||||
echo -e "${YELLOW}${ICON_WARNING}${NC} Skipped security fixes (sudo denied)"
|
||||
echo -e "${GRAY}${ICON_WARNING}${NC} Skipped security fixes (sudo denied)"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user