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

chore: auto format code

This commit is contained in:
Tw93
2025-12-12 06:12:13 +00:00
parent 42634fbf3d
commit 5456d60876
9 changed files with 38 additions and 46 deletions

View File

@@ -16,8 +16,6 @@ opt_system_maintenance() {
echo -e "${RED}${ICON_ERROR}${NC} Failed to clear DNS cache"
fi
echo -e "${BLUE}${ICON_ARROW}${NC} Checking Spotlight index..."
local md_status
md_status=$(mdutil -s / 2> /dev/null || echo "")
@@ -31,7 +29,6 @@ opt_system_maintenance() {
sudo pkill -f blued 2> /dev/null || true
echo -e "${GREEN}${ICON_SUCCESS}${NC} Bluetooth controller refreshed"
}
# Cache refresh: update Finder/Safari caches
@@ -112,7 +109,6 @@ opt_radio_refresh() {
echo -e "${BLUE}${ICON_ARROW}${NC} Refreshing Wi-Fi service..."
# Only restart Wi-Fi service, do NOT delete saved networks
# Safe alternative: just restart the Wi-Fi interface
local wifi_interface
wifi_interface=$(networksetup -listallhardwareports | awk '/Wi-Fi/{getline; print $2}' | head -1)