Update with example env

This commit is contained in:
2024-10-01 23:20:29 +02:00
parent b6263e46c7
commit 8476203830
3 changed files with 3 additions and 0 deletions

1
.env Normal file
View File

@@ -0,0 +1 @@
HITMAN_FORBIDDEN=Wacom_UpdateUtil.exe,logioptionsplus_updater.exe,ms-teamsupdate.exe,TabTip.exe,LogiAiPromptBuilder.exe

1
.gitignore vendored
View File

@@ -1 +1,2 @@
main.log main.log
hitman.exe

View File

@@ -83,6 +83,7 @@ func main() {
workers <- struct{}{} workers <- struct{}{}
go func(proc string) { go func(proc string) {
defer func() { <-workers }() defer func() { <-workers }()
proc = strings.Trim(proc, " ")
log.Printf("Checking %s", proc) log.Printf("Checking %s", proc)
res, ok := procmap.findByName(proc) res, ok := procmap.findByName(proc)
if ok { if ok {