Skip to content

Commit

Permalink
Add Chromium with profile support
Browse files Browse the repository at this point in the history
  • Loading branch information
azuenko authored and johnste committed Jan 3, 2024
1 parent d156b2d commit acbc3c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Finicky/Finicky/Browsers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ enum Browser: String {
case Vivaldi = "com.vivaldi.vivaldi"
case Safari = "com.apple.safari"
case Wavebox = "com.bookry.wavebox"
case Chromium = "org.chromium.chromium"
}

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

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

0 comments on commit acbc3c1

Please sign in to comment.