Update with example env
This commit is contained in:
1
.env
Normal file
1
.env
Normal file
@@ -0,0 +1 @@
|
|||||||
|
HITMAN_FORBIDDEN=Wacom_UpdateUtil.exe,logioptionsplus_updater.exe,ms-teamsupdate.exe,TabTip.exe,LogiAiPromptBuilder.exe
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
main.log
|
main.log
|
||||||
|
hitman.exe
|
||||||
|
1
main.go
1
main.go
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user