mirror of
https://github.com/tw93/Mole.git
synced 2026-02-08 00:59:17 +00:00
Add cleanup for orphaned system services
Detect and remove leftover LaunchDaemons, LaunchAgents, and PrivilegedHelperTools from uninstalled apps like Sogou Input, ClashX, ClashMac, and Nektony App Cleaner.
This commit is contained in:
@@ -952,6 +952,7 @@ perform_cleanup() {
|
||||
# ===== 12. Orphaned app data cleanup (60+ days inactive, skip protected vendors) =====
|
||||
start_section "Uninstalled app data"
|
||||
clean_orphaned_app_data
|
||||
clean_orphaned_system_services
|
||||
end_section
|
||||
|
||||
# ===== 13. Apple Silicon optimizations =====
|
||||
|
||||
Reference in New Issue
Block a user