developing

This commit is contained in:
2026-04-10 09:01:19 +02:00
parent 5dee69316a
commit fb99e97577
5 changed files with 94 additions and 55 deletions

View File

@@ -12,6 +12,7 @@
simple-row-formatter
while
open-file-manager
basedir
dbg-rktplayer
err-rktplayer
info-rktplayer
@@ -93,3 +94,11 @@
[else (process (string-append "xdg-open " folder))]))
)
(define (basedir file)
(if (string? file)
(basedir (string->path file))
(if (or (eq? (file-or-directory-type file) 'file)
(eq? (file-or-directory-type file) 'link))
(call-with-values (λ () (split-path file))
(λ (dir file d) dir))
file)))