mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
fix: find chromium key failed on windows
This commit is contained in:
@@ -45,8 +45,11 @@ func ReadFile(filename string) (string, error) {
|
||||
return string(s), err
|
||||
}
|
||||
|
||||
func CopyDir(src, dst string) error {
|
||||
return cp.Copy(src, dst)
|
||||
func CopyDir(src, dst, skip string) error {
|
||||
s := cp.Options{Skip: func(src string) (bool, error) {
|
||||
return strings.Contains(strings.ToLower(src), skip), nil
|
||||
}}
|
||||
return cp.Copy(src, dst, s)
|
||||
}
|
||||
|
||||
func Filename(browser, item, ext string) string {
|
||||
|
||||
Reference in New Issue
Block a user