feat: Add support for Arc browser for macOS

pull/220/head
moonD4rk 1 year ago
parent 0a7f19ab91
commit 71cee38b0c
No known key found for this signature in database
GPG Key ID: 5AB6217E08D39ABA
  1. 8
      browser/browser_darwin.go
  2. 1
      browser/consts.go

@ -73,6 +73,12 @@ var (
profilePath: yandexProfilePath,
items: item.DefaultYandex,
},
"arc": {
name: arcName,
profilePath: arcProfilePath,
storage: arcStorageName,
items: item.DefaultChromium,
},
}
firefoxList = map[string]struct {
name string
@ -99,6 +105,7 @@ var (
vivaldiProfilePath = homeDir + "/Library/Application Support/Vivaldi/Default/"
coccocProfilePath = homeDir + "/Library/Application Support/Coccoc/Default/"
yandexProfilePath = homeDir + "/Library/Application Support/Yandex/YandexBrowser/Default/"
arcProfilePath = homeDir + "/Library/Application Support/Arc/User Data/Default"
firefoxProfilePath = homeDir + "/Library/Application Support/Firefox/Profiles/"
)
@ -113,4 +120,5 @@ const (
vivaldiStorageName = "Vivaldi"
coccocStorageName = "CocCoc"
yandexStorageName = "Yandex"
arcStorageName = "Arc"
)

@ -23,4 +23,5 @@ const (
qqBrowserName = "QQ"
dcBrowserName = "DC"
sogouName = "Sogou"
arcName = "Arc"
)

Loading…
Cancel
Save