..
original commit: c155fb9cdac2601e2c26c2acf05a2a6c18759cfe
This commit is contained in:
parent
d8eeb4bb81
commit
df6b375ca3
|
@ -45,23 +45,12 @@
|
||||||
(wait-for-connection help-desk-port))
|
(wait-for-connection help-desk-port))
|
||||||
|
|
||||||
(when launch-browser?
|
(when launch-browser?
|
||||||
(with-handlers
|
(help-desk-browser hd-cookie)
|
||||||
([void
|
; allow browser startup time
|
||||||
(lambda _
|
(sleep (add1 browser-timeout))
|
||||||
(message-box
|
; starting an external browser may have failed
|
||||||
"Help Desk"
|
; so we may have switched to the internal browser
|
||||||
(format
|
(set! internal-browser? (use-plt-browser?)))
|
||||||
(string-append
|
|
||||||
"Unable to start a browser. "
|
|
||||||
"Manually start a browser and use the URL "
|
|
||||||
"http://127.0.0.1:~a/servlets/home.ss.")
|
|
||||||
(hd-cookie->port hd-cookie))))])
|
|
||||||
(help-desk-browser hd-cookie)
|
|
||||||
; allow browser startup time
|
|
||||||
(sleep (add1 browser-timeout))
|
|
||||||
; starting an external browser may have failed
|
|
||||||
; so we may have switched to the internal browser
|
|
||||||
(set! internal-browser? (use-plt-browser?))))
|
|
||||||
|
|
||||||
(cond
|
(cond
|
||||||
[internal-browser? (void)]
|
[internal-browser? (void)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user