|
|
@ -12,15 +12,17 @@ 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" |
|
|
|
edgeProfilePath = "/AppData/Local/Microsoft/Edge/User Data/*/" |
|
|
|
chromeBetaProfilePath = "/AppData/Local/Google/Chrome Beta/User Data/*/" |
|
|
|
edgeKeyPath = "/AppData/Local/Microsoft/Edge/User Data/Local State" |
|
|
|
chromeBetaKeyPath = "/AppData/Local/Google/Chrome Beta/User Data/Local State" |
|
|
|
braveProfilePath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/*/" |
|
|
|
edgeProfilePath = "/AppData/Local/Microsoft/Edge/User Data/*/" |
|
|
|
braveKeyPath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/Local State" |
|
|
|
edgeKeyPath = "/AppData/Local/Microsoft/Edge/User Data/Local State" |
|
|
|
speed360ProfilePath = "/AppData/Local/360chrome/Chrome/User Data/*/" |
|
|
|
braveProfilePath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/*/" |
|
|
|
qqBrowserProfilePath = "/AppData/Local/Tencent/QQBrowser/User Data/*/" |
|
|
|
braveKeyPath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/Local State" |
|
|
|
firefoxProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-release/" |
|
|
|
speed360ProfilePath = "/AppData/Local/360chrome/Chrome/User Data/*/" |
|
|
|
|
|
|
|
qqBrowserProfilePath = "/AppData/Local/Tencent/QQBrowser/User Data/*/" |
|
|
|
|
|
|
|
firefoxProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-release/" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
var ( |
|
|
@ -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, |
|
|
|