From be318d6ef05f40f5da72c6953ff8f00e3ca62d34 Mon Sep 17 00:00:00 2001 From: moond4rk Date: Thu, 11 Feb 2021 01:17:26 +0800 Subject: [PATCH] feat: update firxfox profile path --- core/browser_darwin.go | 10 +++++----- core/browser_linux.go | 10 +++++----- core/browser_windows.go | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/core/browser_darwin.go b/core/browser_darwin.go index 8ac5947..f9ae1c5 100644 --- a/core/browser_darwin.go +++ b/core/browser_darwin.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/*/" diff --git a/core/browser_linux.go b/core/browser_linux.go index 1e76a1a..80eae05 100644 --- a/core/browser_linux.go +++ b/core/browser_linux.go @@ -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*/*/" diff --git a/core/browser_windows.go b/core/browser_windows.go index 546edf0..4e5f46e 100644 --- a/core/browser_windows.go +++ b/core/browser_windows.go @@ -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/*/"