feat: update firxfox profile path

pull/83/head
moond4rk 4 years ago committed by ᴍᴏᴏɴD4ʀᴋ
parent 74ed03caa2
commit be318d6ef0
  1. 10
      core/browser_darwin.go
  2. 10
      core/browser_linux.go
  3. 10
      core/browser_windows.go

@ -10,11 +10,11 @@ import (
)
const (
fireFoxProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-release/"
fireFoxBetaProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-beta/"
fireFoxDevProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.dev-edition-default/"
fireFoxNightlyProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-nightly/"
fireFoxESRProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-esr/"
fireFoxProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-release*/"
fireFoxBetaProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-beta*/"
fireFoxDevProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.dev-edition-default*/"
fireFoxNightlyProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-nightly*/"
fireFoxESRProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-esr*/"
chromeProfilePath = "/Users/*/Library/Application Support/Google/Chrome/*/"
chromeBetaProfilePath = "/Users/*/Library/Application Support/Google/Chrome Beta/*/"
chromiumProfilePath = "/Users/*/Library/Application Support/Chromium/*/"

@ -11,11 +11,11 @@ import (
)
const (
fireFoxProfilePath = "/home/*/.mozilla/firefox/*.default-release/"
fireFoxBetaProfilePath = "/home/*/.mozilla/firefox/*.default-beta/"
fireFoxDevProfilePath = "/home/*/.mozilla/firefox/*.dev-edition-default/"
fireFoxNightlyProfilePath = "/home/*/.mozilla/firefox/*.default-nightly/"
fireFoxESRProfilePath = "/home/*/.mozilla/firefox/*.default-esr/"
fireFoxProfilePath = "/home/*/.mozilla/firefox/*.default-release*/"
fireFoxBetaProfilePath = "/home/*/.mozilla/firefox/*.default-beta*/"
fireFoxDevProfilePath = "/home/*/.mozilla/firefox/*.dev-edition-default*/"
fireFoxNightlyProfilePath = "/home/*/.mozilla/firefox/*.default-nightly*/"
fireFoxESRProfilePath = "/home/*/.mozilla/firefox/*.default-esr*/"
chromeProfilePath = "/home/*/.config/google-chrome/*/"
chromiumProfilePath = "/home/*/.config/chromium/*/"
edgeProfilePath = "/home/*/.config/microsoft-edge*/*/"

@ -13,11 +13,11 @@ import (
)
const (
firefoxProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-release/"
fireFoxBetaProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-beta/"
fireFoxDevProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.dev-edition-default/"
fireFoxNightlyProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-nightly/"
fireFoxESRProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-esr/"
firefoxProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-release*/"
fireFoxBetaProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-beta*/"
fireFoxDevProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.dev-edition-default*/"
fireFoxNightlyProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-nightly*/"
fireFoxESRProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-esr*/"
chromeProfilePath = "/AppData/Local/Google/Chrome/User Data/*/"
chromeKeyPath = "/AppData/Local/Google/Chrome/User Data/Local State"
chromeBetaProfilePath = "/AppData/Local/Google/Chrome Beta/User Data/*/"

Loading…
Cancel
Save