Skip to content

Commit 410e780

Browse files
authored
feat: support 360speedX and sogou (#454)
* fix: Update the configuration file path of Sogou browser * feat: support 360speedX browser
1 parent 9121178 commit 410e780

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

browser/browser_windows.go

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,16 @@ var (
6363
profilePath: yandexProfilePath,
6464
dataTypes: types.DefaultYandexTypes,
6565
},
66-
"360": {
66+
"360-speed": {
6767
name: speed360Name,
6868
profilePath: speed360ProfilePath,
6969
dataTypes: types.DefaultChromiumTypes,
7070
},
71+
"360-speedx": {
72+
name: speedX360Name,
73+
profilePath: speedX360ProfilePath,
74+
dataTypes: types.DefaultChromiumTypes,
75+
},
7176
"qq": {
7277
name: qqBrowserName,
7378
profilePath: qqBrowserProfilePath,
@@ -105,14 +110,15 @@ var (
105110
edgeProfilePath = homeDir + "/AppData/Local/Microsoft/Edge/User Data/Default/"
106111
braveProfilePath = homeDir + "/AppData/Local/BraveSoftware/Brave-Browser/User Data/Default/"
107112
speed360ProfilePath = homeDir + "/AppData/Local/360chrome/Chrome/User Data/Default/"
113+
speedX360ProfilePath = homeDir + "/AppData/Local/360ChromeX/Chrome/User Data/Default/"
108114
qqBrowserProfilePath = homeDir + "/AppData/Local/Tencent/QQBrowser/User Data/Default/"
109115
operaProfilePath = homeDir + "/AppData/Roaming/Opera Software/Opera Stable/"
110116
operaGXProfilePath = homeDir + "/AppData/Roaming/Opera Software/Opera GX Stable/"
111117
vivaldiProfilePath = homeDir + "/AppData/Local/Vivaldi/User Data/Default/"
112118
coccocProfilePath = homeDir + "/AppData/Local/CocCoc/Browser/User Data/Default/"
113119
yandexProfilePath = homeDir + "/AppData/Local/Yandex/YandexBrowser/User Data/Default/"
114120
dcBrowserProfilePath = homeDir + "/AppData/Local/DCBrowser/User Data/Default/"
115-
sogouProfilePath = homeDir + "/AppData/Roaming/SogouExplorer/Webkit/Default/"
121+
sogouProfilePath = homeDir + "/AppData/Local/Sogou/SogouExplorer/User Data/Default/"
116122

117123
firefoxProfilePath = homeDir + "/AppData/Roaming/Mozilla/Firefox/Profiles/"
118124
)

browser/consts.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const (
2020
yandexName = "Yandex"
2121
firefoxName = "Firefox"
2222
speed360Name = "360speed"
23+
speedX360Name = "360speedX"
2324
qqBrowserName = "QQ"
2425
dcBrowserName = "DC"
2526
sogouName = "Sogou"

0 commit comments

Comments
 (0)