Version 1.0.2
Update Firefox version dependency to 60.0
This commit is contained in:
parent
2f72159670
commit
05c2d9f4f3
|
@ -5,7 +5,7 @@ go:
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
# Use the full version number with ".0" if needed. This value is scraped by setup scripts.
|
# Use the full version number with ".0" if needed. This value is scraped by setup scripts.
|
||||||
firefox: "58.0"
|
firefox: "60.0"
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- rpm
|
- rpm
|
||||||
|
|
|
@ -28,7 +28,7 @@ var (
|
||||||
isUseExistingFirefox = flag.Bool("use-existing-ff", false, "Whether Browsh should launch Firefox or not")
|
isUseExistingFirefox = flag.Bool("use-existing-ff", false, "Whether Browsh should launch Firefox or not")
|
||||||
useFFProfile = flag.String("ff-profile", "default", "Firefox profile to use")
|
useFFProfile = flag.String("ff-profile", "default", "Firefox profile to use")
|
||||||
isDebug = flag.Bool("debug", false, "Log to ./debug.log")
|
isDebug = flag.Bool("debug", false, "Log to ./debug.log")
|
||||||
startupURL = flag.String("startup-url", "https://google.com", "URL to launch at startup")
|
StartupURL = flag.String("startup-url", "https://google.com", "URL to launch at startup")
|
||||||
timeLimit = flag.Int("time-limit", 0, "Kill Browsh after the specified number of seconds")
|
timeLimit = flag.Int("time-limit", 0, "Kill Browsh after the specified number of seconds")
|
||||||
// IsHTTPServer needs to be exported for use in tests
|
// IsHTTPServer needs to be exported for use in tests
|
||||||
IsHTTPServer = flag.Bool("http-server", false, "Run as an HTTP service")
|
IsHTTPServer = flag.Bool("http-server", false, "Run as an HTTP service")
|
||||||
|
|
|
@ -108,7 +108,7 @@ func startWERFirefox() {
|
||||||
"--firefox=" + rootDir + "/webext/contrib/firefoxheadless.sh",
|
"--firefox=" + rootDir + "/webext/contrib/firefoxheadless.sh",
|
||||||
"--verbose",
|
"--verbose",
|
||||||
"--no-reload",
|
"--no-reload",
|
||||||
"--url=https://www.google.com",
|
"--url=" + *StartupURL,
|
||||||
}
|
}
|
||||||
firefoxProcess := exec.Command(rootDir + "/webext/node_modules/.bin/web-ext", args...)
|
firefoxProcess := exec.Command(rootDir + "/webext/node_modules/.bin/web-ext", args...)
|
||||||
firefoxProcess.Dir = rootDir + "/webext/dist/"
|
firefoxProcess.Dir = rootDir + "/webext/dist/"
|
||||||
|
@ -204,7 +204,7 @@ func loadHomePage() {
|
||||||
// Wait for the CLI websocket server to start listening
|
// Wait for the CLI websocket server to start listening
|
||||||
time.Sleep(200 * time.Millisecond)
|
time.Sleep(200 * time.Millisecond)
|
||||||
args := map[string]interface{}{
|
args := map[string]interface{}{
|
||||||
"url": *startupURL,
|
"url": *StartupURL,
|
||||||
}
|
}
|
||||||
sendFirefoxCommand("get", args)
|
sendFirefoxCommand("get", args)
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ import (
|
||||||
|
|
||||||
var staticFileServerPort = "4444"
|
var staticFileServerPort = "4444"
|
||||||
var simScreen tcell.SimulationScreen
|
var simScreen tcell.SimulationScreen
|
||||||
var startupWait = 30 * time.Second
|
var startupWait = 60 * time.Second
|
||||||
var perTestTimeout = 2000 * time.Millisecond
|
var perTestTimeout = 2000 * time.Millisecond
|
||||||
var rootDir = browsh.Shell("git rev-parse --show-toplevel")
|
var rootDir = browsh.Shell("git rev-parse --show-toplevel")
|
||||||
var testSiteURL = "http://localhost:" + staticFileServerPort
|
var testSiteURL = "http://localhost:" + staticFileServerPort
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Browsh",
|
"name": "Browsh",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
|
|
||||||
"description": "Renders the browser as realtime, interactive, TTY-compatible text",
|
"description": "Renders the browser as realtime, interactive, TTY-compatible text",
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue