feat: doctor, update, uninstall, config, report, MA detect, spinner, reinstall

- doctor: pre-flight diagnostic (sudo, recovery, disk, libs, third-party FW)
- update: self-update from the latest release
- uninstall: remove all Runaway traces (daemons, pf, hosts, backups, config)
- config: persistent settings file (~/.runaway.conf) with show/set/unset
- report: full markdown system status report
- MA detect: scan for Migration Assistant MDM artifacts per user
- spinner: visual progress indicator for long operations
- reinstall: uninstall + persist + whitelist + monitor-install
- Third-party firewall detection (Little Snitch, LuLu, Radio Silence, Vallum)
- Load config on startup (WEBHOOK, LOG_LEVEL, LOG_FILE)
- Bump 1.3.0 -> 1.4.0
This commit is contained in:
2026-06-20 12:23:51 -03:00
parent 5cfcf6f748
commit 33e83f8d63
11 changed files with 1138 additions and 4 deletions
+13
View File
@@ -81,6 +81,19 @@ begin() {
echo -ne "${CYAN} ${label} ... ${NC}"
}
spinner() {
local pid=$1
local msg="${2:-Working}"
local spin='-\|/'
local i=0
while kill -0 "$pid" 2>/dev/null; do
i=$(( (i+1) % 4 ))
echo -ne "\r${CYAN} ${msg} ... ${spin:$i:1}${NC}"
sleep 0.2
done
echo -ne "\r${CYAN} ${msg} ... ${NC}"
}
end_ok() {
echo -e "${GRN}✓${NC}"
}