Skip to content

Commit

Permalink
fix to handle multiple processes (fix #82)
Browse files Browse the repository at this point in the history
  • Loading branch information
blurfx committed Apr 21, 2024
1 parent c1d8534 commit 38c0952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func watch() {

if strings.ToLower(szExeFile) == executable {
winapi.EnumWindows(enumWindow, uintptr(pe32.Th32ProcessID))
break
//break
}

if !winapi.Process32Next(uintptr(snapshot), &pe32) {
Expand Down

0 comments on commit 38c0952

Please sign in to comment.