diff --git a/src/mac/utils_mac.mm b/src/mac/utils_mac.mm index 57baf2680..9a953dbdd 100644 --- a/src/mac/utils_mac.mm +++ b/src/mac/utils_mac.mm @@ -608,7 +608,7 @@ static bool IsSoftwarePrivatedImpl() { if (GetCPUType() == CPUType::kIntel) return IsFile("/usr/local/bin/brew"); #endif - return IsFile("/opt/homebrew/bin/brew"); + return IsFile("/opt/homebrew/bin/brew") || IsDirectory("/opt/homebrew/.git"); } bool IsSoftwarePrivated() {