feat: support 360speedX and sogou (#454)
* fix: Update the configuration file path of Sogou browser * feat: support 360speedX browser
This commit is contained in:
parent
9121178ba7
commit
410e780518
|
@ -63,11 +63,16 @@ var (
|
||||||
profilePath: yandexProfilePath,
|
profilePath: yandexProfilePath,
|
||||||
dataTypes: types.DefaultYandexTypes,
|
dataTypes: types.DefaultYandexTypes,
|
||||||
},
|
},
|
||||||
"360": {
|
"360-speed": {
|
||||||
name: speed360Name,
|
name: speed360Name,
|
||||||
profilePath: speed360ProfilePath,
|
profilePath: speed360ProfilePath,
|
||||||
dataTypes: types.DefaultChromiumTypes,
|
dataTypes: types.DefaultChromiumTypes,
|
||||||
},
|
},
|
||||||
|
"360-speedx": {
|
||||||
|
name: speedX360Name,
|
||||||
|
profilePath: speedX360ProfilePath,
|
||||||
|
dataTypes: types.DefaultChromiumTypes,
|
||||||
|
},
|
||||||
"qq": {
|
"qq": {
|
||||||
name: qqBrowserName,
|
name: qqBrowserName,
|
||||||
profilePath: qqBrowserProfilePath,
|
profilePath: qqBrowserProfilePath,
|
||||||
|
@ -105,6 +110,7 @@ var (
|
||||||
edgeProfilePath = homeDir + "/AppData/Local/Microsoft/Edge/User Data/Default/"
|
edgeProfilePath = homeDir + "/AppData/Local/Microsoft/Edge/User Data/Default/"
|
||||||
braveProfilePath = homeDir + "/AppData/Local/BraveSoftware/Brave-Browser/User Data/Default/"
|
braveProfilePath = homeDir + "/AppData/Local/BraveSoftware/Brave-Browser/User Data/Default/"
|
||||||
speed360ProfilePath = homeDir + "/AppData/Local/360chrome/Chrome/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/"
|
qqBrowserProfilePath = homeDir + "/AppData/Local/Tencent/QQBrowser/User Data/Default/"
|
||||||
operaProfilePath = homeDir + "/AppData/Roaming/Opera Software/Opera Stable/"
|
operaProfilePath = homeDir + "/AppData/Roaming/Opera Software/Opera Stable/"
|
||||||
operaGXProfilePath = homeDir + "/AppData/Roaming/Opera Software/Opera GX Stable/"
|
operaGXProfilePath = homeDir + "/AppData/Roaming/Opera Software/Opera GX Stable/"
|
||||||
|
@ -112,7 +118,7 @@ var (
|
||||||
coccocProfilePath = homeDir + "/AppData/Local/CocCoc/Browser/User Data/Default/"
|
coccocProfilePath = homeDir + "/AppData/Local/CocCoc/Browser/User Data/Default/"
|
||||||
yandexProfilePath = homeDir + "/AppData/Local/Yandex/YandexBrowser/User Data/Default/"
|
yandexProfilePath = homeDir + "/AppData/Local/Yandex/YandexBrowser/User Data/Default/"
|
||||||
dcBrowserProfilePath = homeDir + "/AppData/Local/DCBrowser/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/"
|
firefoxProfilePath = homeDir + "/AppData/Roaming/Mozilla/Firefox/Profiles/"
|
||||||
)
|
)
|
||||||
|
|
|
@ -20,6 +20,7 @@ const (
|
||||||
yandexName = "Yandex"
|
yandexName = "Yandex"
|
||||||
firefoxName = "Firefox"
|
firefoxName = "Firefox"
|
||||||
speed360Name = "360speed"
|
speed360Name = "360speed"
|
||||||
|
speedX360Name = "360speedX"
|
||||||
qqBrowserName = "QQ"
|
qqBrowserName = "QQ"
|
||||||
dcBrowserName = "DC"
|
dcBrowserName = "DC"
|
||||||
sogouName = "Sogou"
|
sogouName = "Sogou"
|
||||||
|
|
Loading…
Reference in New Issue