support opera for Linux Close #50

moond4rk 4 years ago
parent 7281c9051a
commit e851bb2f9f
  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