feat: add sogou and dc browser

This commit is contained in:
beichen
2022-11-28 23:18:27 +08:00
committed by moonD4rk
parent 8d34e72090
commit f747b598a1
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -123,4 +123,6 @@ const (
firefoxName = "Firefox"
speed360Name = "360speed"
qqBrowserName = "QQ"
dcbrowserName = "dcbrowser"
sougouName = "Sougou"
)
+12
View File
@@ -73,6 +73,16 @@ var (
profilePath: qqBrowserProfilePath,
items: item.DefaultChromium,
},
"dcbrowser": {
name: dcbrowserName,
profilePath: dcbrowserUserDataPath,
items: item.DefaultChromium,
},
"sougou": {
name: sougouName,
profilePath: dcbrowserUserDataPath,
items: item.DefaultChromium,
},
}
firefoxList = map[string]struct {
name string
@@ -101,6 +111,8 @@ var (
vivaldiProfilePath = homeDir + "/AppData/Local/Vivaldi/User Data/Default/"
coccocProfilePath = homeDir + "/AppData/Local/CocCoc/Browser/User Data/Default/"
yandexProfilePath = homeDir + "/AppData/Local/Yandex/YandexBrowser/User Data/Default/"
dcbrowserUserDataPath = homeDir + "/AppData/Local/DCBrowser/User Data/Default/"
sougouUserDataPath = homeDir + "/AppData/Roaming/SogouExplorer/Webkit/Default/"
firefoxProfilePath = homeDir + "/AppData/Roaming/Mozilla/Firefox/Profiles/"
)