fix: wrong browser profile path for linux

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-04-14 14:53:16 +08:00
parent 6928944b53
commit 4d403e2866
6 changed files with 28 additions and 97 deletions
+1 -2
View File
@@ -2,7 +2,6 @@ package browingdata
import (
"database/sql"
"fmt"
"os"
"sort"
"strings"
@@ -35,7 +34,7 @@ func (c *ChromiumDownload) Parse(masterKey []byte) error {
totalBytes, startTime, endTime int64
)
if err := rows.Scan(&targetPath, &tabUrl, &totalBytes, &startTime, &endTime, &mimeType); err != nil {
fmt.Println(err)
log.Warn(err)
}
data := download{
TargetPath: targetPath,
+1 -1
View File
@@ -106,7 +106,7 @@ func (c *YandexPassword) Parse(masterKey []byte) error {
encryptPass: pwd,
LoginUrl: url,
}
log.Debug(login)
if len(pwd) > 0 {
var err error
if masterKey == nil {