fix: print process path logic
This commit is contained in:
parent
c1631759fc
commit
df8196a68c
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ func (gb *GroupBase) GetProxies(touch bool) []C.Proxy {
|
|||
}
|
||||
return proxies
|
||||
}
|
||||
//TODO("Touch Version 没变的")
|
||||
|
||||
for _, pd := range gb.providers {
|
||||
if pd.VehicleType() == types.Compatible {
|
||||
if touch {
|
||||
|
|
|
@ -179,7 +179,7 @@ func preHandleMetadata(metadata *C.Metadata) error {
|
|||
} else {
|
||||
metadata.Process = filepath.Base(path)
|
||||
metadata.ProcessPath = path
|
||||
if procesCache == metadata.Process {
|
||||
if procesCache != metadata.Process {
|
||||
log.Debugln("[Process] %s from process %s", metadata.String(), path)
|
||||
}
|
||||
procesCache = metadata.Process
|
||||
|
|
Loading…
Reference in a new issue