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
+6
View File
@@ -13,6 +13,7 @@ const (
chromeProfilePath = "/Users/*/Library/Application Support/Google/Chrome/*/"
edgeProfilePath = "/Users/*/Library/Application Support/Microsoft Edge/*/"
fireFoxProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-release/"
braveProfilePath = "/Users/*/Library/Application Support/BraveSoftware/Brave-Browser/*/"
)
var (
@@ -38,6 +39,11 @@ var (
Name: edgeName,
New: NewChromium,
},
"brave": {
ProfilePath: braveProfilePath,
Name: braveName,
New: NewChromium,
},
}
)