fix: print process path logic

This commit is contained in:
adlyq 2022-05-12 18:57:30 +08:00
parent c1631759fc
commit df8196a68c
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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