Skip to content

Commit 787af49

Browse files
committed
feat: support 360speedX browser
1 parent fb75a1e commit 787af49

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

browser/browser_windows.go

Lines changed: 7 additions & 1 deletion
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,6 +110,7 @@ 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/"

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)