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
16 changes: 4 additions & 12 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,7 @@ func getFirefoxNameForOS(os string) string {
switch os {
case OSDarwin:
return "Firefox"
case OSLinux:
return "firefox"
case OSWindows:
case OSLinux, OSWindows:
return "firefox"
}
return ""
Expand All @@ -403,9 +401,7 @@ func getBraveNameForOS(os string) string {
switch os {
case OSDarwin:
return "Brave"
case OSLinux:
return "brave"
case OSWindows:
case OSLinux, OSWindows:
return "brave"
}
return ""
Expand All @@ -416,9 +412,7 @@ func getSafariNameForOS(os string) string {
switch os {
case OSDarwin:
return "Safari"
case OSLinux:
return "safari"
case OSWindows:
case OSLinux, OSWindows:
return "safari"
}
return ""
Expand All @@ -429,9 +423,7 @@ func getOperaNameForOS(os string) string {
switch os {
case OSDarwin:
return "Opera"
case OSLinux:
return "opera"
case OSWindows:
case OSLinux, OSWindows:
return "opera"
}
return ""
Expand Down