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
|
return proxies
|
||||||
}
|
}
|
||||||
//TODO("Touch Version 没变的")
|
|
||||||
for _, pd := range gb.providers {
|
for _, pd := range gb.providers {
|
||||||
if pd.VehicleType() == types.Compatible {
|
if pd.VehicleType() == types.Compatible {
|
||||||
if touch {
|
if touch {
|
||||||
|
|
|
@ -179,7 +179,7 @@ func preHandleMetadata(metadata *C.Metadata) error {
|
||||||
} else {
|
} else {
|
||||||
metadata.Process = filepath.Base(path)
|
metadata.Process = filepath.Base(path)
|
||||||
metadata.ProcessPath = path
|
metadata.ProcessPath = path
|
||||||
if procesCache == metadata.Process {
|
if procesCache != metadata.Process {
|
||||||
log.Debugln("[Process] %s from process %s", metadata.String(), path)
|
log.Debugln("[Process] %s from process %s", metadata.String(), path)
|
||||||
}
|
}
|
||||||
procesCache = metadata.Process
|
procesCache = metadata.Process
|
||||||
|
|
Loading…
Reference in a new issue