|
|
|
@ -14,6 +14,8 @@ import ( |
|
|
|
|
const ( |
|
|
|
|
chromeProfilePath = "/AppData/Local/Google/Chrome/User Data/*/" |
|
|
|
|
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/*/" |
|
|
|
|
edgeKeyPath = "/AppData/Local/Microsoft/Edge/User Data/Local State" |
|
|
|
|
braveProfilePath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/*/" |
|
|
|
@ -37,6 +39,12 @@ var ( |
|
|
|
|
Name: chromeName, |
|
|
|
|
New: NewChromium, |
|
|
|
|
}, |
|
|
|
|
"chrome-beta": { |
|
|
|
|
ProfilePath: os.Getenv("USERPROFILE") + chromeBetaProfilePath, |
|
|
|
|
KeyPath: os.Getenv("USERPROFILE") + chromeBetaKeyPath, |
|
|
|
|
Name: chromeBetaName, |
|
|
|
|
New: NewChromium, |
|
|
|
|
}, |
|
|
|
|
"edge": { |
|
|
|
|
ProfilePath: os.Getenv("USERPROFILE") + edgeProfilePath, |
|
|
|
|
KeyPath: os.Getenv("USERPROFILE") + edgeKeyPath, |
|
|
|
|