react-native/local-cli/server
Nicolas Feignon 758111a706 Fix launchChrome for chromium on Ubuntu
Summary:
On Ubuntu (and maybe other distros), the executable for the chromium browser is 'chromium-browser' instead of 'chromium'.
This commit calls 'chromium-browser' before calling 'chromium' if it exists.

Start an example app on Android with "react-native init project && react-native run-android". Open DevTools: it opens chromium correctly.

[CLI] [BUGFIX] [local-cli/server/utils/launchChrome.js] - Fix launchChrome for chromium on Ubuntu
Closes https://github.com/facebook/react-native/pull/16658

Differential Revision: D6241686

Pulled By: hramos

fbshipit-source-id: 5cd435c3c42c29f0916679298e62e7a323468e37
2017-11-04 12:02:09 -07:00
..
middleware Add gating to the JS delta client on the remote debugger 2017-09-29 13:32:02 -07:00
util Fix launchChrome for chromium on Ubuntu 2017-11-04 12:02:09 -07:00
checkNodeVersion.js Upgrade metro-bundler to v0.9.0 2017-06-24 17:15:55 -07:00
runServer.js Make the runBeforeMainModule config param to RN repo and make it absolute 2017-09-26 13:06:14 -07:00
server.js Use the Config type from Metro 2017-09-15 05:00:10 -07:00