diff --git a/browser/browser_darwin.go b/browser/browser_darwin.go index 3447943..9e2a697 100644 --- a/browser/browser_darwin.go +++ b/browser/browser_darwin.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" ) diff --git a/browser/consts.go b/browser/consts.go index 1fa73d1..b61738b 100644 --- a/browser/consts.go +++ b/browser/consts.go @@ -23,4 +23,5 @@ const ( qqBrowserName = "QQ" dcBrowserName = "DC" sogouName = "Sogou" + arcName = "Arc" )