Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Finicky/Finicky/Browsers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ enum Browser: String {
case Safari = "com.apple.safari"
case Wavebox = "com.bookry.wavebox"
case Chromium = "org.chromium.chromium"
case Yandex = "ru.yandex.desktop.yandex-browser"
}

public func getBrowserCommand(_ browserOpts: BrowserOpts, url: URL) -> [String] {
Expand Down Expand Up @@ -107,7 +108,8 @@ private func getProfileOption(bundleId: String, profile: String) -> [String]? {
Browser.EdgeBeta.rawValue,
Browser.Vivaldi.rawValue,
Browser.Wavebox.rawValue,
Browser.Chromium.rawValue:
Browser.Chromium.rawValue,
Browser.Yandex.rawValue:
return ["--profile-directory=\(profile)"]

// Blisk and Opera doesn't support multiple profiles even though they are Chromium based
Expand Down