mirror of
https://github.com/tw93/Mole.git
synced 2026-03-23 17:35:10 +00:00
fix(log): preserve Mole runtime logs during clean
This commit is contained in:
@@ -802,6 +802,10 @@ should_protect_path() {
|
||||
*/Library/Preferences/com.apple.dock.plist | */Library/Preferences/com.apple.finder.plist)
|
||||
return 0
|
||||
;;
|
||||
# Protect Mole's own runtime logs so cleanup cannot delete its active log targets.
|
||||
*/Library/Logs/mole | */Library/Logs/mole/ | */Library/Logs/mole/*)
|
||||
return 0
|
||||
;;
|
||||
# Bluetooth and WiFi configurations
|
||||
*/ByHost/com.apple.bluetooth.* | */ByHost/com.apple.wifi.*)
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user