Skip to content

Commit

Permalink
prefer chromium-browser over chromium
Browse files Browse the repository at this point in the history
there is also a FOSS game by the name chromium iirc..
  • Loading branch information
divinity76 authored Jan 11, 2024
1 parent 5b9dd36 commit 46fd074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoDiscover.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function guessChromeBinaryPath(): string
case 'Windows':
return self::getFromRegistry() ?? '%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe';
default:
return explode("\n", (string)self::shellExec("bash -c 'command -v google-chrome chrome chromium chromium-browser'"), 2)[0] ?: 'chrome';
return explode("\n", (string)self::shellExec("bash -c 'command -v google-chrome chrome chromium-browser chromium'"), 2)[0] ?: 'chrome';
}
}

Expand Down

0 comments on commit 46fd074

Please sign in to comment.