style: format browser name

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-06-29 15:18:41 +08:00
parent dc8c14c538
commit eb1a7f89ec
4 changed files with 34 additions and 14 deletions
+21
View File
@@ -0,0 +1,21 @@
//package utils
//
//var (
// browserList = map[string]struct {
// Dir string
// Command string
// }{
// "chrome": {
// chromeDir,
// Chrome,
// },
// "edge": {
// edgeDir,
// Edge,
// },
// }
//)
-1
View File
@@ -1 +0,0 @@
package utils
+5 -5
View File
@@ -18,8 +18,8 @@ const (
chromeKeyFile = "/AppData/Local/Google/Chrome/User Data/Local State"
edgeDir = "/AppData/Local/Microsoft/Edge/User Data/*/"
edgeKeyFile = "/AppData/Local/Microsoft/Edge/User Data/Local State"
secure360Dir = "/AppData/Local/360chrome/Chrome/User Data/*/"
secure360KeyFile = ""
speed360Dir = "/AppData/Local/360chrome/Chrome/User Data/*/"
speed360KeyFile = ""
qqBrowserDir = "/AppData/Local/Tencent/QQBrowser/User Data/*/"
qqBrowserKeyFile = ""
)
@@ -39,9 +39,9 @@ var (
edgeDir,
edgeKeyFile,
},
"360secure": {
secure360Dir,
secure360KeyFile,
"360speed": {
speed360Dir,
speed360KeyFile,
},
"qq": {
qqBrowserDir,