fix: wrong browser profile path for linux

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-04-14 14:53:16 +08:00
parent 86d900527f
commit da2beb9453
6 changed files with 28 additions and 97 deletions
+7 -7
View File
@@ -71,14 +71,14 @@ var (
)
var (
firefoxProfilePath = homeDir + "/.mozilla/firefox/*.default-release*/"
chromeProfilePath = homeDir + "/.config/google-chrome/*/"
chromiumProfilePath = homeDir + "/.config/chromium/*/"
edgeProfilePath = homeDir + "/.config/microsoft-edge*/*/"
braveProfilePath = homeDir + "/.config/BraveSoftware/Brave-Browser/*/"
chromeBetaProfilePath = homeDir + "/.config/google-chrome-beta/*/"
firefoxProfilePath = homeDir + "/.mozilla/firefox/"
chromeProfilePath = homeDir + "/.config/google-chrome/"
chromiumProfilePath = homeDir + "/.config/chromium/"
edgeProfilePath = homeDir + "/.config/microsoft-edge*/"
braveProfilePath = homeDir + "/.config/BraveSoftware/Brave-Browser/"
chromeBetaProfilePath = homeDir + "/.config/google-chrome-beta/"
operaProfilePath = homeDir + "/.config/opera/"
vivaldiProfilePath = homeDir + "/.config/vivaldi/*/"
vivaldiProfilePath = homeDir + "/.config/vivaldi/"
)
const (