mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-06 21:37:47 +02:00
add chromium support for macOS
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
chromeProfilePath = "/Users/*/Library/Application Support/Google/Chrome/*/"
|
chromeProfilePath = "/Users/*/Library/Application Support/Google/Chrome/*/"
|
||||||
chromeBetaProfilePath = "/Users/*/Library/Application Support/Google/Chrome Beta/*/"
|
chromeBetaProfilePath = "/Users/*/Library/Application Support/Google/Chrome Beta/*/"
|
||||||
|
chromiumProfilePath = "/Users/*/Library/Application Support/Chromium/*/"
|
||||||
edgeProfilePath = "/Users/*/Library/Application Support/Microsoft Edge/*/"
|
edgeProfilePath = "/Users/*/Library/Application Support/Microsoft Edge/*/"
|
||||||
fireFoxProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-release/"
|
fireFoxProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-release/"
|
||||||
braveProfilePath = "/Users/*/Library/Application Support/BraveSoftware/Brave-Browser/*/"
|
braveProfilePath = "/Users/*/Library/Application Support/BraveSoftware/Brave-Browser/*/"
|
||||||
@@ -23,6 +24,7 @@ const (
|
|||||||
const (
|
const (
|
||||||
chromeStorageName = "Chrome"
|
chromeStorageName = "Chrome"
|
||||||
chromeBetaStorageName = "Chrome"
|
chromeBetaStorageName = "Chrome"
|
||||||
|
chromiumStorageName = "Chromium"
|
||||||
edgeStorageName = "Microsoft Edge"
|
edgeStorageName = "Microsoft Edge"
|
||||||
braveStorageName = "Brave"
|
braveStorageName = "Brave"
|
||||||
operaStorageName = "Opera"
|
operaStorageName = "Opera"
|
||||||
@@ -48,6 +50,12 @@ var (
|
|||||||
Storage: chromeStorageName,
|
Storage: chromeStorageName,
|
||||||
New: NewChromium,
|
New: NewChromium,
|
||||||
},
|
},
|
||||||
|
"chromium": {
|
||||||
|
ProfilePath: chromiumProfilePath,
|
||||||
|
Name: chromiumName,
|
||||||
|
Storage: chromiumStorageName,
|
||||||
|
New: NewChromium,
|
||||||
|
},
|
||||||
"edge": {
|
"edge": {
|
||||||
ProfilePath: edgeProfilePath,
|
ProfilePath: edgeProfilePath,
|
||||||
Name: edgeName,
|
Name: edgeName,
|
||||||
|
|||||||
Reference in New Issue
Block a user