Make version getter available on provided functions
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
(all-from-out "menu.rkt")
|
(all-from-out "menu.rkt")
|
||||||
|
|
||||||
ww-set-custom-webui-wire-command!
|
ww-set-custom-webui-wire-command!
|
||||||
|
ww-get-webui-wire-version
|
||||||
ww-display-log
|
ww-display-log
|
||||||
ww-tail-log
|
ww-tail-log
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -11,9 +11,14 @@
|
|||||||
|
|
||||||
(provide ww-set-custom-webui-wire-command!
|
(provide ww-set-custom-webui-wire-command!
|
||||||
ww-get-webui-wire-command
|
ww-get-webui-wire-command
|
||||||
|
ww-get-webui-wire-version
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
(define (ww-get-webui-wire-version)
|
||||||
|
(ww-get-webui-wire-command)
|
||||||
|
(get-webui-wire-installed-version))
|
||||||
|
|
||||||
(define (ww-get-webui-wire-command)
|
(define (ww-get-webui-wire-command)
|
||||||
(unless (webui-wire-exists?)
|
(unless (webui-wire-exists?)
|
||||||
(error "webui-wire needs to be installed in order to use web-racket"))
|
(error "webui-wire needs to be installed in order to use web-racket"))
|
||||||
|
|||||||
Reference in New Issue
Block a user