Permalink
Browse files

Merge pull request #13 from fabiomcosta/patch-2

This is the correct way of launching google chrome. If the `--homepage` ...
  • Loading branch information...
2 parents 955924e + 49f66e9 commit d0b6109decefdb39644da6ef45ec811af321c92e @admc committed Jul 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/browsers.js
View
4 lib/browsers.js
@@ -130,6 +130,7 @@ chrome = function(_this) {
_this.bid = uuid();
var flags = [
+ url,
"--user-data-dir="+process.env.TMPDIR+_this.bid,
"--disable-prompt-on-repost",
"--disable-metrics",
@@ -138,8 +139,7 @@ chrome = function(_this) {
"--disable-web-security",
"--temp-profile",
"--no-first-run",
- "--disable-popup-blocking",
- "--homepage="+url
+ "--disable-popup-blocking"
]
if (port) {

0 comments on commit d0b6109

Please sign in to comment.