mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
feat: support opera for Linux Close #50
This commit is contained in:
@@ -16,6 +16,7 @@ const (
|
|||||||
edgeProfilePath = "/home/*/.config/microsoft-edge*/*/"
|
edgeProfilePath = "/home/*/.config/microsoft-edge*/*/"
|
||||||
braveProfilePath = "/home/*/.config/BraveSoftware/Brave-Browser/*/"
|
braveProfilePath = "/home/*/.config/BraveSoftware/Brave-Browser/*/"
|
||||||
chromeBetaProfilePath = "/home/*/.config/google-chrome-beta/*/"
|
chromeBetaProfilePath = "/home/*/.config/google-chrome-beta/*/"
|
||||||
|
operaProfilePath = "/home/*/.config/opera/"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -23,6 +24,7 @@ const (
|
|||||||
edgeStorageName = "Chromium Safe Storage"
|
edgeStorageName = "Chromium Safe Storage"
|
||||||
braveStorageName = "Brave Safe Storage"
|
braveStorageName = "Brave Safe Storage"
|
||||||
chromeBetaStorageName = "Chrome Safe Storage"
|
chromeBetaStorageName = "Chrome Safe Storage"
|
||||||
|
operaStorageName = "Chromium Safe Storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -62,6 +64,12 @@ var (
|
|||||||
Storage: chromeBetaStorageName,
|
Storage: chromeBetaStorageName,
|
||||||
New: NewChromium,
|
New: NewChromium,
|
||||||
},
|
},
|
||||||
|
"opera": {
|
||||||
|
ProfilePath: operaProfilePath,
|
||||||
|
Name: operaName,
|
||||||
|
Storage: operaStorageName,
|
||||||
|
New: NewChromium,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user