This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
@@ -6,11 +6,24 @@
// Everything up to "--" is options for this program. Everything following it is
// a meek-client command line.
//
// This program, meek-client-wrapper, starts a browser-helper program
// specified by the --helper option. This is executed with no arguments; use a
// shell script if you need something more complex. It should launch a browser
// process that has been configured to use the meek-http-helper extension,
// ideally in a separate browser profile not used for any other purpose.
// This program, meek-client-wrapper, starts a browser-helper program specified
// by the --helper option. This is executed with no arguments; use a shell
// script if you need something more complex. Alternatively, you may point to a
// file with the ".meek-browser-helper" suffix, which is a basic custom format
// for specifying what to execute. An example of its format:
//
// -- begin example file --
// # comments and empty lines are ignored
// OPTIONAL_SET_ENV1=value1
// OPTIONAL_UNSET_ENV=
// program_executable
// optional_arg1
// optional_arg2
// -- end example file --
//
// In any case, the browser-helper program should launch a browser process that
// has been configured to use the meek-http-helper extension, ideally in a
// separate browser profile not used for any other purpose.
//
// This program then reads the stdout of the helper, looking for a special
// line with the listening port number of the extension, one that looks like