mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-08-22 00:17:16 +02:00
feat: add chrome beta support for Windows (#42)
Add Chrome Beta for Windows
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
chromeName = "Chrome"
|
chromeName = "Chrome"
|
||||||
|
chromeBetaName = "Chrome Beta"
|
||||||
edgeName = "Microsoft Edge"
|
edgeName = "Microsoft Edge"
|
||||||
firefoxName = "Firefox"
|
firefoxName = "Firefox"
|
||||||
speed360Name = "360speed"
|
speed360Name = "360speed"
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ import (
|
|||||||
const (
|
const (
|
||||||
chromeProfilePath = "/AppData/Local/Google/Chrome/User Data/*/"
|
chromeProfilePath = "/AppData/Local/Google/Chrome/User Data/*/"
|
||||||
chromeKeyPath = "/AppData/Local/Google/Chrome/User Data/Local State"
|
chromeKeyPath = "/AppData/Local/Google/Chrome/User Data/Local State"
|
||||||
|
chromeBetaProfilePath = "/AppData/Local/Google/Chrome Beta/User Data/*/"
|
||||||
|
chromeBetaKeyPath = "/AppData/Local/Google/Chrome Beta/User Data/Local State"
|
||||||
edgeProfilePath = "/AppData/Local/Microsoft/Edge/User Data/*/"
|
edgeProfilePath = "/AppData/Local/Microsoft/Edge/User Data/*/"
|
||||||
edgeKeyPath = "/AppData/Local/Microsoft/Edge/User Data/Local State"
|
edgeKeyPath = "/AppData/Local/Microsoft/Edge/User Data/Local State"
|
||||||
braveProfilePath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/*/"
|
braveProfilePath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/*/"
|
||||||
@@ -37,6 +39,12 @@ var (
|
|||||||
Name: chromeName,
|
Name: chromeName,
|
||||||
New: NewChromium,
|
New: NewChromium,
|
||||||
},
|
},
|
||||||
|
"chrome-beta": {
|
||||||
|
ProfilePath: os.Getenv("USERPROFILE") + chromeBetaProfilePath,
|
||||||
|
KeyPath: os.Getenv("USERPROFILE") + chromeBetaKeyPath,
|
||||||
|
Name: chromeBetaName,
|
||||||
|
New: NewChromium,
|
||||||
|
},
|
||||||
"edge": {
|
"edge": {
|
||||||
ProfilePath: os.Getenv("USERPROFILE") + edgeProfilePath,
|
ProfilePath: os.Getenv("USERPROFILE") + edgeProfilePath,
|
||||||
KeyPath: os.Getenv("USERPROFILE") + edgeKeyPath,
|
KeyPath: os.Getenv("USERPROFILE") + edgeKeyPath,
|
||||||
|
|||||||
Reference in New Issue
Block a user