diff --git a/cmd/analyze/scanner.go b/cmd/analyze/scanner.go index df81b57..cccb514 100644 --- a/cmd/analyze/scanner.go +++ b/cmd/analyze/scanner.go @@ -665,7 +665,6 @@ func getDirectorySizeFromDuWithExclude(path string, excludePath string) (int64, return runDuSize(path) } - func getDirectoryLogicalSizeWithExclude(path string, excludePath string) (int64, error) { var total int64 err := filepath.WalkDir(path, func(p string, d fs.DirEntry, err error) error { diff --git a/lib/core/app_protection.sh b/lib/core/app_protection.sh index ba11b04..4851f84 100755 --- a/lib/core/app_protection.sh +++ b/lib/core/app_protection.sh @@ -444,7 +444,7 @@ is_critical_system_component() { lower=$(echo "$token" | tr '[:upper:]' '[:lower:]') case "$lower" in - *backgroundtaskmanagement* | *loginitems* | *systempreferences* | *systemsettings* | *settings* | *preferences* | *controlcenter* | *biometrickit* | *sfl* | *tcc* ) + *backgroundtaskmanagement* | *loginitems* | *systempreferences* | *systemsettings* | *settings* | *preferences* | *controlcenter* | *biometrickit* | *sfl* | *tcc*) return 0 ;; *) diff --git a/lib/core/ui.sh b/lib/core/ui.sh index c7eaad8..b3b82d6 100755 --- a/lib/core/ui.sh +++ b/lib/core/ui.sh @@ -62,8 +62,8 @@ get_display_width() { # Adjust for zero-width joiners and emoji variation selectors (common in filenames/emojis) # These characters add bytes but no visible width; subtract their count if present. - local zwj=$'\u200d' # zero-width joiner - local vs16=$'\ufe0f' # emoji variation selector + local zwj=$'\u200d' # zero-width joiner + local vs16=$'\ufe0f' # emoji variation selector local zero_width=0 local without_zwj=${str//$zwj/}