-
Notifications
You must be signed in to change notification settings - Fork 382
Closed
Description
Currently the launchDevTools command will try to launch Chrome-for-Linux on ChromeOS. I believe it needs to launch the default browser in that case.
I don't know if this is the best way, but I think it needs to do something like this:
final isCrOS = Platform.isLinux && File('/dev/.cros_milestone').existsSync();
if (isCrOS) {
Process.start('x-www-browser', ['https://www.google.co.uk/']);
} else {
// Current way
Process.start(_executable, [
'https://www.google.co.uk/', /* + Chrome flags? */
]);
}
@jacob314 can you confirm this sounds right? Webdev is doing is own launching, and will require Chrome for Linux (because it needs to pass flags), but for non-Webdev we expect to always use the native browser?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels