feat: support opera for Linux Close #50

pull/83/head
moond4rk 4 years ago committed by ᴍᴏᴏɴD4ʀᴋ
parent ee70453b6e
commit 06e79f0dbb
  1. 8
      core/browser_linux.go

@ -16,6 +16,7 @@ const (
edgeProfilePath = "/home/*/.config/microsoft-edge*/*/"
braveProfilePath = "/home/*/.config/BraveSoftware/Brave-Browser/*/"
chromeBetaProfilePath = "/home/*/.config/google-chrome-beta/*/"
operaProfilePath = "/home/*/.config/opera/"
)
const (
@ -23,6 +24,7 @@ const (
edgeStorageName = "Chromium Safe Storage"
braveStorageName = "Brave Safe Storage"
chromeBetaStorageName = "Chrome Safe Storage"
operaStorageName = "Chromium Safe Storage"
)
var (
@ -62,6 +64,12 @@ var (
Storage: chromeBetaStorageName,
New: NewChromium,
},
"opera": {
ProfilePath: operaProfilePath,
Name: operaName,
Storage: operaStorageName,
New: NewChromium,
},
}
)

Loading…
Cancel
Save