1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 13:16:47 +00:00

Parallelize metric collection, improve Touch ID script robustness, and add debug logging for clean command.

This commit is contained in:
Tw93
2025-12-12 14:11:20 +08:00
parent 0f701f7711
commit ddce2a197d

View File

@@ -67,7 +67,7 @@ Mole's "Smart Uninstall" and orphan detection (`lib/clean/apps.sh`) are intentio
We anticipate that scripts can be interrupted (e.g., power loss, `Ctrl+C`).
- **Network Interface Reset**: Wi-Fi and AirDrop resets use **atomic execution blocks**.
- **Swap Clearing**: Swap files are only touched after verifying that the `dynamic_pager` daemon has successfully unloaded.
- **Swap Clearing**: Swap files are reset by securely restarting the `dynamic_pager` daemon. We intentionally avoid manual `rm` operations on swap files to prevent instability during high memory pressure.
## 5. User Control & Transparency
@@ -80,7 +80,7 @@ We anticipate that scripts can be interrupted (e.g., power loss, `Ctrl+C`).
Mole relies on standard, battle-tested macOS binaries for critical tasks:
- `plutil`: Used to validate `.plist` integrity.
- `tmutil`: Used for safe interaction with Time Machine.
- `kextcache`, `dscacheutil`: Used for system-compliant cache rebuilding.
- `dscacheutil`: Used for system-compliant cache rebuilding.
- **Go Dependencies (Interactive Tools)**
The compiled Go binary (`analyze-go`) includes the following libraries: