Skip to content

Commit 0761fc3

Browse files
AquilaoAquilao
authored andcommitted
fix: skip chromium-based browser 'def' dir (#448)
Co-authored-by: Aquilao <Aquilao@outlook>
1 parent d0967a3 commit 0761fc3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

browser/chromium/chromium.go

+3
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ func chromiumWalkFunc(items []types.DataType, multiItemPaths map[string]map[type
156156
if strings.Contains(path, "Snapshot") {
157157
continue
158158
}
159+
if strings.Contains(path, "def") {
160+
continue
161+
}
159162
profileFolder := fileutil.ParentBaseDir(path)
160163
if strings.Contains(filepath.ToSlash(path), "/Network/Cookies") {
161164
profileFolder = fileutil.BaseDir(strings.ReplaceAll(filepath.ToSlash(path), "/Network/Cookies", ""))

0 commit comments

Comments
 (0)