mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
feat: add Chromium support for Linux
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
||||
const (
|
||||
chromeName = "Chrome"
|
||||
chromeBetaName = "Chrome Beta"
|
||||
chromiumName = "Chromium"
|
||||
edgeName = "Microsoft Edge"
|
||||
firefoxName = "Firefox"
|
||||
speed360Name = "360speed"
|
||||
|
||||
@@ -13,6 +13,7 @@ import (
|
||||
const (
|
||||
fireFoxProfilePath = "/home/*/.mozilla/firefox/*.default-release/"
|
||||
chromeProfilePath = "/home/*/.config/google-chrome/*/"
|
||||
chromiumProfilePath = "/home/*/.config/chromium/*/"
|
||||
edgeProfilePath = "/home/*/.config/microsoft-edge*/*/"
|
||||
braveProfilePath = "/home/*/.config/BraveSoftware/Brave-Browser/*/"
|
||||
chromeBetaProfilePath = "/home/*/.config/google-chrome-beta/*/"
|
||||
@@ -22,6 +23,7 @@ const (
|
||||
|
||||
const (
|
||||
chromeStorageName = "Chrome Safe Storage"
|
||||
chromiumStorageName = "Chromium Safe Storage"
|
||||
edgeStorageName = "Chromium Safe Storage"
|
||||
braveStorageName = "Brave Safe Storage"
|
||||
chromeBetaStorageName = "Chrome Safe Storage"
|
||||
@@ -66,6 +68,12 @@ var (
|
||||
Storage: chromeBetaStorageName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"chromium": {
|
||||
ProfilePath: chromiumProfilePath,
|
||||
Name: chromiumName,
|
||||
Storage: chromiumStorageName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"opera": {
|
||||
ProfilePath: operaProfilePath,
|
||||
Name: operaName,
|
||||
|
||||
Reference in New Issue
Block a user