small changes for testing
This commit is contained in:
+8
-5
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
(define rktplayer-window #f)
|
(define rktplayer-window #f)
|
||||||
|
|
||||||
(define (run)
|
(define (run . no-exit)
|
||||||
(let* ((ini (new ini% [file 'rktplayer]))
|
(let* ((ini (new ini% [file 'rktplayer]))
|
||||||
(context (new wv-context%
|
(context (new wv-context%
|
||||||
[base-path rkt-gui-dir]
|
[base-path rkt-gui-dir]
|
||||||
@@ -47,11 +47,14 @@
|
|||||||
)
|
)
|
||||||
(let ((window (new rktplayer% [wv-context context] [log-file log-file])))
|
(let ((window (new rktplayer% [wv-context context] [log-file log-file])))
|
||||||
(set! rktplayer-window window)
|
(set! rktplayer-window window)
|
||||||
(webview-wait-for-quit)
|
(when (and (not (null? no-exit))
|
||||||
(webview-exit)
|
(not (eq? (car no-exit) #t)))
|
||||||
(exit))
|
(webview-wait-for-quit)
|
||||||
|
(webview-exit)
|
||||||
|
(exit))
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
(run)
|
;(run)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user