diff --git a/README.md b/README.md index c4ccc72..eee3832 100644 --- a/README.md +++ b/README.md @@ -53,18 +53,18 @@ GLOBAL OPTIONS: | Browser | Password | Cookie | Bookmark | History | | :---------------------------------- | :------: | :----: | :------: | :-----: | -| Chrome version < 80 [Windows] | ✔ | ✔ | ✔ | ✔ | +| Chrome version <= 80 [Windows] | ✔ | ✔ | ✔ | ✔ | | Chrome version > 80 [Windows] | ✔ | ✔ | ✔ | ✔ | -| Chrome [MacOS]
(need password) | ✔ | ✔ | ✔ | ✔ | +| Chrome [MacOS]
(require password) | ✔ | ✔ | ✔ | ✔ | | Edge [Windows] | ✔ | ✔ | ✔ | ✔ | -| Edge [MacOS]
(need password) | ✔ | ✔ | ✔ | ✔ | -| 360 Secure Browser [Windows] | ✔ | ✔ | ✔ | ✔ | +| Edge [MacOS]
(require password) | ✔ | ✔ | ✔ | ✔ | +| 360 Speed Browser [Windows] | ✔ | ✔ | ✔ | ✔ | | QQ Browser [Windows] | ✔ | ✔ | ✔ | ✔ | | FireFox [Windows] | ✖ | ✖ | ✖ | ✖ | | FireFox [MacOS] | ✖ | ✖ | ✖ | ✖ | | Safari [MacOS] | ✖ | ✖ | ✖ | ✖ | | Internet Explorer [Windows] | ✖ | ✖ | ✖ | ✖ | -| 360 Speed Browser [Windows] | ✖ | ✖ | ✖ | ✖ | +| 360 Secure Browser [Windows] | ✖ | ✖ | ✖ | ✖ | | Chrome [Linux] | ✖ | ✖ | ✖ | ✖ | @@ -82,13 +82,13 @@ GLOBAL OPTIONS: | :----- | :------: | :-----: | :--------: | :---: | :------------: | | 39.85% | 22.26% | 9.28% | 6.5% | 5.65% | 4.74% | -Based on those two lists, I woulf support those browser in the future +Based on those two lists, I would support those browsers in the future - [x] Chrome - [x] QQ browser - [x] Edge -- [x] 360 secure browser -- [ ] 360 speed browser +- [x] 360 speed browser +- [ ] 360 secure browser - [ ] Safari - [ ] Firefox - [ ] IE \ No newline at end of file diff --git a/utils/utils_linux b/utils/utils_linux new file mode 100644 index 0000000..3b5d61c --- /dev/null +++ b/utils/utils_linux @@ -0,0 +1,21 @@ +//package utils +// + +//var ( +// browserList = map[string]struct { +// Dir string +// Command string +// }{ +// "chrome": { +// chromeDir, +// Chrome, +// }, +// "edge": { +// edgeDir, +// Edge, +// }, +// } +//) + + + diff --git a/utils/utils_linux.go b/utils/utils_linux.go deleted file mode 100644 index d4b585b..0000000 --- a/utils/utils_linux.go +++ /dev/null @@ -1 +0,0 @@ -package utils diff --git a/utils/utils_windows.go b/utils/utils_windows.go index b561007..ccb091b 100644 --- a/utils/utils_windows.go +++ b/utils/utils_windows.go @@ -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,