feat: add Chromium support for Linux

pull/83/head
Carlo Mandelli 4 years ago committed by ᴍᴏᴏɴD4ʀᴋ
parent fe907881df
commit dba3bac533
  1. 1
      README.md
  2. 1
      README_ZH.md
  3. 1
      core/browser.go
  4. 8
      core/browser_linux.go

@ -53,6 +53,7 @@ Based on Apple's security policy, some browsers **require a current user passwor
| Brave Browser | ✅ | ✅ | ✅ | ✅ |
| Opera Browser | ✅ | ✅ | ✅ | ✅ |
| Vivaldi Browser | ✅ | ✅ | ✅ | ✅ |
| Chromium | ✅ | ✅ | ✅ | ✅ |
### Install

@ -49,6 +49,7 @@ hack-browser-data 是一个解密浏览器数据(密码|历史记录|Cookies|
| Brave 浏览器 | ✅ | ✅ | ✅ | ✅ |
| Opera Browser | ✅ | ✅ | ✅ | ✅ |
| Vivaldi Browser | ✅ | ✅ | ✅ | ✅ |
| Chromium | ✅ | ✅ | ✅ | ✅ |
### 安装运行

@ -14,6 +14,7 @@ import (
const (
chromeName = "Chrome"
chromeBetaName = "Chrome Beta"
chromiumName = "Chromium"
edgeName = "Microsoft Edge"
firefoxName = "Firefox"
speed360Name = "360speed"

@ -13,6 +13,7 @@ import (
const (
fireFoxProfilePath = "/home/*/.mozilla/firefox/*.default-release/"
chromeProfilePath = "/home/*/.config/google-chrome/*/"
chromiumProfilePath = "/home/*/.config/chromium/*/"
edgeProfilePath = "/home/*/.config/microsoft-edge*/*/"
braveProfilePath = "/home/*/.config/BraveSoftware/Brave-Browser/*/"
chromeBetaProfilePath = "/home/*/.config/google-chrome-beta/*/"
@ -22,6 +23,7 @@ const (
const (
chromeStorageName = "Chrome Safe Storage"
chromiumStorageName = "Chromium Safe Storage"
edgeStorageName = "Chromium Safe Storage"
braveStorageName = "Brave Safe Storage"
chromeBetaStorageName = "Chrome Safe Storage"
@ -66,6 +68,12 @@ var (
Storage: chromeBetaStorageName,
New: NewChromium,
},
"chromium": {
ProfilePath: chromiumProfilePath,
Name: chromiumName,
Storage: chromiumStorageName,
New: NewChromium,
},
"opera": {
ProfilePath: operaProfilePath,
Name: operaName,

Loading…
Cancel
Save