Prompt to download
This commit is contained in:
8
ui.go
8
ui.go
@ -248,10 +248,10 @@ func (c *firefox) kill() error {
|
||||
|
||||
func newFirefoxWithArgs(firefoxBinary string, args ...string) (*firefox, error) {
|
||||
// The first two IDs are used internally during the initialization
|
||||
if firefoxBinary == "" {
|
||||
PromptDownload()
|
||||
return nil, fmt.Errorf("Firefox not found.")
|
||||
}
|
||||
if firefoxBinary == "" {
|
||||
PromptDownload()
|
||||
return nil, fmt.Errorf("Firefox not found.")
|
||||
}
|
||||
c := &firefox{
|
||||
id: 2,
|
||||
}
|
||||
|
Reference in New Issue
Block a user