This commit is contained in:
2026-03-02 23:10:29 +01:00
parent 07004097e9
commit 25ca1ec4a4
24 changed files with 1054 additions and 31 deletions

View File

@@ -18,7 +18,7 @@
rkt_webview_set_html
rkt_webview_valid
rkt_webview_run_js
rkt_webview_call_js
;rkt_webview_call_js
rkt_webview_pending_events
rkt_webview_get_event
rkt_webview_set_event_callback!
@@ -39,9 +39,11 @@
(define libname (let ((os (system-type 'os*)))
(cond ((eq? os 'windows) (format "rktwebview.dll"))
((eq? os 'linux) (format "librktwebview.so"))
(else (error (format "OS ~a not supported" os)))))
)
(set! libname "../rtkwebview/build/Release/rktwebview.dll")
;(set! libname "../rktwebview/build/Release/rktwebview.dll")
(set! libname "../rktwebview/build/Release/librktwebview.so")
(define webview-lib-file (build-path lib-dir libname))
(define webview-lib (ffi-lib webview-lib-file))