feat: add yandex browser for macOS

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2021-12-10 10:58:10 +08:00
parent c92e067ccc
commit 0f2a541fa2
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -24,6 +24,7 @@ const (
operaGXProfilePath = "/Users/*/Library/Application Support/com.operasoftware.OperaGX/"
vivaldiProfilePath = "/Users/*/Library/Application Support/Vivaldi/*/"
coccocProfilePath = "/Users/*/Library/Application Support/Coccoc/*/"
yandexProfilePath = "/Users/*/Library/Application Support/Yandex/YandexBrowser/*/"
)
const (
@@ -35,6 +36,7 @@ const (
operaStorageName = "Opera"
vivaldiStorageName = "Vivaldi"
coccocStorageName = "CocCoc"
yandexStorageName = "Yandex"
)
var (
@@ -124,6 +126,12 @@ var (
Storage: coccocStorageName,
New: NewChromium,
},
"yandex": {
ProfilePath: yandexProfilePath,
Name: yandexName,
Storage: yandexStorageName,
New: NewChromium,
},
}
)