unlock fix cung client
This commit is contained in:
@@ -250,11 +250,9 @@ func (b *Blocker) checkAndKill() {
|
||||
myPid := uint32(os.Getpid())
|
||||
for pid, info := range procs {
|
||||
pNameLower := strings.ToLower(info.Name)
|
||||
bundleIDLower := strings.ToLower(info.BundleID)
|
||||
|
||||
// 1. Always allow our app, system/critical developer tools, or agent helpers (and Antigravity IDE)
|
||||
isAntigravity := strings.Contains(pNameLower, "antigravity") || strings.Contains(bundleIDLower, "antigravity")
|
||||
if pid == myPid || (currentExec != "" && pNameLower == currentExec) || systemAllowed[pNameLower] || isAntigravity {
|
||||
// 1. Always allow our app, system/critical developer tools, or agent helpers
|
||||
if pid == myPid || (currentExec != "" && pNameLower == currentExec) || systemAllowed[pNameLower] {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user