feat: support brave browser, Close #31

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-10-26 12:39:09 +08:00
parent f61750b1bf
commit 25bac647e6
6 changed files with 30 additions and 1 deletions
+8
View File
@@ -15,6 +15,8 @@ const (
chromeKeyPath = "/AppData/Local/Google/Chrome/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/*/"
braveKeyPath = "/AppData/Local/BraveSoftware/Brave-Browser/User Data/Local State"
speed360ProfilePath = "/AppData/Local/360chrome/Chrome/User Data/*/"
speed360KeyPath = ""
qqBrowserProfilePath = "/AppData/Local/Tencent/QQBrowser/User Data/*/"
@@ -58,6 +60,12 @@ var (
Name: firefoxName,
New: NewFirefox,
},
"brave": {
ProfilePath: os.Getenv("USERPROFILE") + braveProfilePath,
KeyPath: os.Getenv("USERPROFILE") + braveKeyPath,
Name: braveName,
New: NewChromium,
},
}
)