[tor-commits] [meek/webextension] Change --invisible to --headless in the firefox command.
dcf at torproject.org
dcf at torproject.org
Wed Feb 20 03:28:51 UTC 2019
commit e551c05e47a977d3941f4eabbdb3eb20adbe255f
Author: David Fifield <david at bamsoftware.com>
Date: Tue Feb 19 20:23:56 2019 -0700
Change --invisible to --headless in the firefox command.
The --help output no longer mentions --invisible. About --headless it
says:
--headless Run without a GUI.
Also use double dashes in --no-remote and --profile, to match --help
output.
---
meek-client-torbrowser/meek-client-torbrowser.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meek-client-torbrowser/meek-client-torbrowser.go b/meek-client-torbrowser/meek-client-torbrowser.go
index 2daa108..0c9910f 100644
--- a/meek-client-torbrowser/meek-client-torbrowser.go
+++ b/meek-client-torbrowser/meek-client-torbrowser.go
@@ -226,7 +226,7 @@ func runFirefox() (cmd *exec.Cmd, stdout io.Reader, err error) {
return
}
- cmd = exec.Command(absFirefoxPath, "--invisible", "-no-remote", "-profile", profilePath)
+ cmd = exec.Command(absFirefoxPath, "--headless", "--no-remote", "--profile", profilePath)
osSpecificCommandSetup(cmd)
cmd.Stderr = os.Stderr
stdout, err = cmd.StdoutPipe()
More information about the tor-commits
mailing list