fix: skip chromium-based browser 'def' dir (#448)
Co-authored-by: Aquilao <Aquilao@outlook>
This commit is contained in:
parent
d0967a362e
commit
0761fc39f2
|
@ -156,6 +156,9 @@ func chromiumWalkFunc(items []types.DataType, multiItemPaths map[string]map[type
|
|||
if strings.Contains(path, "Snapshot") {
|
||||
continue
|
||||
}
|
||||
if strings.Contains(path, "def") {
|
||||
continue
|
||||
}
|
||||
profileFolder := fileutil.ParentBaseDir(path)
|
||||
if strings.Contains(filepath.ToSlash(path), "/Network/Cookies") {
|
||||
profileFolder = fileutil.BaseDir(strings.ReplaceAll(filepath.ToSlash(path), "/Network/Cookies", ""))
|
||||
|
|
Loading…
Reference in New Issue