diff --git a/.env b/.env new file mode 100644 index 0000000..36a88ec --- /dev/null +++ b/.env @@ -0,0 +1 @@ +HITMAN_FORBIDDEN=Wacom_UpdateUtil.exe,logioptionsplus_updater.exe,ms-teamsupdate.exe,TabTip.exe,LogiAiPromptBuilder.exe \ No newline at end of file diff --git a/.gitignore b/.gitignore index 926b439..b280f31 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ main.log +hitman.exe diff --git a/main.go b/main.go index c3771c3..61f0b51 100644 --- a/main.go +++ b/main.go @@ -83,6 +83,7 @@ func main() { workers <- struct{}{} go func(proc string) { defer func() { <-workers }() + proc = strings.Trim(proc, " ") log.Printf("Checking %s", proc) res, ok := procmap.findByName(proc) if ok {