feat: support vivaldi browser Close #51
This commit is contained in:
parent
06e79f0dbb
commit
0f7710eca5
|
@ -20,6 +20,7 @@ const (
|
|||
braveName = "Brave"
|
||||
operaName = "Opera"
|
||||
operaGXName = "OperaGX"
|
||||
vivaldiName = "Vivaldi"
|
||||
)
|
||||
|
||||
type Browser interface {
|
||||
|
|
|
@ -17,6 +17,7 @@ const (
|
|||
braveProfilePath = "/Users/*/Library/Application Support/BraveSoftware/Brave-Browser/*/"
|
||||
operaProfilePath = "/Users/*/Library/Application Support/com.operasoftware.Opera/"
|
||||
operaGXProfilePath = "/Users/*/Library/Application Support/com.operasoftware.OperaGX/"
|
||||
vivaldiProfilePath = "/Users/*/Library/Application Support/Vivaldi/*/"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -25,6 +26,7 @@ const (
|
|||
edgeStorageName = "Microsoft Edge"
|
||||
braveStorageName = "Brave"
|
||||
operaStorageName = "Opera"
|
||||
vivaldiStorageName = "Vivaldi"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -76,6 +78,12 @@ var (
|
|||
Storage: operaStorageName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"vivaldi": {
|
||||
ProfilePath: vivaldiProfilePath,
|
||||
Name: vivaldiName,
|
||||
Storage: vivaldiStorageName,
|
||||
New: NewChromium,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ const (
|
|||
braveProfilePath = "/home/*/.config/BraveSoftware/Brave-Browser/*/"
|
||||
chromeBetaProfilePath = "/home/*/.config/google-chrome-beta/*/"
|
||||
operaProfilePath = "/home/*/.config/opera/"
|
||||
vivaldiProfilePath = "/home/*/.config/vivaldi/*/"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -25,6 +26,7 @@ const (
|
|||
braveStorageName = "Brave Safe Storage"
|
||||
chromeBetaStorageName = "Chrome Safe Storage"
|
||||
operaStorageName = "Chromium Safe Storage"
|
||||
vivaldiStorageName = "Chrome Safe Storage"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -70,6 +72,12 @@ var (
|
|||
Storage: operaStorageName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"vivaldi": {
|
||||
ProfilePath: vivaldiProfilePath,
|
||||
Name: vivaldiName,
|
||||
Storage: vivaldiStorageName,
|
||||
New: NewChromium,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue